jBC Programmers Reference Guide
Preface
What is TAFC
TAFC releases
What is T24
jBC/jBASE features
Introduction to some jBC syntax features
Note
Note 2
Variables visibility and lifetime
To wrap a long line
Several statements on the same line
Comments
String variables
Numeric variables
Boolean variables
Dynamic arrays
Dimensioned arrays
Other notes
Guidelines for writing the source code
Recommendations (not rules)
Environment variables relevant to jBC programming
Minimum set of variables necessary to start development
Customize work folders and files location
Runtime errors handling
Regional settings
Diagnostics and tracing
Other
Compilation
Introduction to BASIC...CATALOG and jcompile
Data files
Introduction to jBASE/TAFC data files
Create/delete hashed file
Create and list the data
Adding dictionary items
Change of size and format, statistics, properties
UD type
System ("@") variables
@AM (@FM), @VM, @SM, @TM
@CALLSTACK
@CODEPAGE
@DATA
@DATE
@DAY
@EOF
@FILENAME
@FOOTER.BREAK
@HEADER.BREAK
@ID
@LEVEL
@LOCALE
@LPTRHIGH
@MONTH
@PARASENTENCE
@PATH
@PID
@RECORD
@SELECTED
@TERMTYPE
@TIME
@TIMEZONE
@TTY
@UID
@USER.ROOT, @USER.THREAD and @USERSTATS
jBC Functions and Statements (@ - E)
@
@ (SCREENCODE)
ABORT
ABS
ABSS
ADDS
ALPHA
ANDS
ASCII
ASSIGNED
BITAND
BITCHANGE
BITCHECK
BITLOAD
BITNOT
BITOR
BITRESET
BITSET
BITTEST
BITXOR
BREAK
BREAK ON/OFF
BYTELEN
CacheBucketList
CacheClear
CacheClearAll
CacheClearStats
CacheDelete
CacheExists
CacheGet
CacheGetOption
CacheKeyList
CachePut
CacheSetOption
CacheStats
CALL
CALLC
CALLdotNET
CALLJ
CALLJEE
CALLONEXIT
CASE
CATALOG Command
CATS
CHAIN
CHANGE
CHANGETIMESTAMP
CHAR
CHARS
CHDIR
CHECKSUM
CLEAR
CLEARCOMMON
CLEARDATA
CLEARFILE
CLEARINPUT
CLEARSELECT
CLOSE
CLOSESEQ
COL1 and COL2
COLLECTDATA
COMMON
COMPARE
CONTINUE
CONVERT
CONVERT (STATEMENT)
COS
COUNT
COUNTS
CREATE
CRT
DATA
DATE
DCOUNT
DEBUG
DECATALOG and DELETE-CATALOG Commands
DECRYPT
DEFC
DEFCE
DEFFUN
DEL
DELETE
DELETELIST
DELETESEQ
DELETEU
DIMENSION
DIR
DIV
DIVS
DOWNCASE
DROUND
DTX
DYNTOXML
EBCDIC
ECHO
ENCRYPT
ENTER
EQS
EQUATE
EREPLACE
EXECUTE
EXIT
EXP
EXTRACT
jBC Functions and Statements (F - J)
FADD
FDIV
FIELD
FIELDS
FILEINFO
FILELOCK
FILEUNLOCK
FIND
FINDSTR
FORMLIST
FLUSH
FMT
FMTS
FOLD
FOOTING
FOR
FSUB
FUNCTION
GES
GET
GETCWD
GETENV
GETLIST
GETUSERGROUP
GETX
GOSUB
GOTO
GROUP
GROUPSTORE
HEADING
HEADINGE and HEADINGN
HUSH
ICONV
ICONVS
IF (statement)
IFS
IN
INDEX
INMAT
INPUT
INPUTCLEAR
INPUTNULL
INS
INSERT
INT
IOCTL
ISALPHA
ISALNUM
ISCNTRL
ISDIGIT
ISLOWER
ISPRINT
ISSPACE
ISUPPER
ITYPE
JBASECOREDUMP
JBASESubroutineExist
JBASETHREADCreate
JBASETHREADStatus
JQLCOMPILE
JQLEXECUTE
JQLFETCH
JQLGETPROPERTY
JQLPUTPROPERTY
Sample program illustrating the usage of compiled jQL statement:
jBC Functions and Statements (K - O)
KEYIN
LATIN1
LEFT
LEN
LENDP
LENS
LES
LN
LOCALDATE
LOCALTIME
LOCATE
LOCK
Logger
LOOP
LOWER
MAKETIMESTAMP
MAT
MATBUILD
MATCHES
MATCHFIELD
MATPARSE
MATREAD
MATREADU
MATWRITE
MATWRITEU
MAXIMUM
MINIMUM
MOD
MODS
MSLEEP
MULS
NEGS
NES
NEXT
NOBUF
NOT
NOTS
NULL
NUM
NUMS
OBJEXCALLBACK
OCONV
OCONVS
ONGOTO
OPEN
OPENDEV
OPENINDEX
OPENPATH
OPENSEQ
OPENSER
ORS
OSBREAD
OSBWRITE
OSCLOSE
OSDELETE
OSOPEN
OSREAD
OSWRITE
OUT
jBC Functions and Statements (P - T)
PAGE
PAUSE
PERFORM
PRECISION
PRINT
PRINTER
PRINTERR
PROCREAD
PROCWRITE
PROGRAM
PROMPT
PUTENV
PWR
QUOTE / DQUOTE / SQUOTE
RAISE
READ
READBLK
READL
READLIST
READNEXT
READPREV
READSELECT
READSEQ
READT
READU
READV
READVL
READVU
READXML
RECORDLOCKED
REGEXP
RELEASE
REMOVE
REPLACE
RETURN
REWIND
RIGHT
RND
RQM
RTNDATA
SADD
SDIV
SEEK
SELECT
SEND
SENDX
SENTENCE
SEQ
SEQS
SIN
SLEEP
SMUL
SORT
SOUNDEX
SPACE
SPACES
SPLICE
SPOOLER
SQRT
SSELECT
SSELECTN
SSELECTV
SSUB
STATUS
STATUS statement
STOP
STR
STRS
SUBROUTINE
SUBS
SUBSTRINGS
SUM
SWAP
System Functions
TAN
TIME
TIMEDATE
TIMEDIFF
TIMEOUT
TIMESTAMP
TRANS
TRANSABORT
TRANSEND
TRANSQUERY
TRANSTART
TRIM
TRIMB
TRIMBS
TRIMF
TRIMFS
jBC Functions and Statements (U - X)
UNASSIGNED
UNIQUEKEY
UNLOCK
UDTEXECUTE
UPCASE
UTF8
WAKE
WEOF
WEOFSEQ
WRITE
WRITEBLK
WRITELIST
WRITESEQ
WRITESEQF
WRITET
WRITEU
WRITEV
WRITEVU
WRITEXML
XLATE
XMLTODYN
XMLTOXML
XTD
Embedded SQL for jBC
Introduction to embedded SQL
EMBEDDED SQL COMPILER OPTION
TROUBLESHOOTING
@TERMTYPE
The Terminal type
Last update: Sat, 16 Jul 2022 15:34