IB Statements
From CometWiki
(→Runtime exception control statements) |
(→Numeric functions) |
||
Line 108: | Line 108: | ||
[[{{PAGENAME}}/fpt|FPT]]<BR/> | [[{{PAGENAME}}/fpt|FPT]]<BR/> | ||
[[{{PAGENAME}}/hexdec|HEXDEC]]<BR/> | [[{{PAGENAME}}/hexdec|HEXDEC]]<BR/> | ||
- | + | [[{{PAGENAME}}/ihexdec|IHEXDEC]]<BR/> | |
- | [ihexdec|IHEXDEC] | + | [[{{PAGENAME}}/int|INT]]<BR/> |
- | + | [[{{PAGENAME}}/len|LEN]]<BR/> | |
- | [int|INT]</ | + | [[{{PAGENAME}}/msgboxfunc|MSGBOX]]<BR/> |
- | + | [[{{PAGENAME}}/not|NOT]]<BR/> | |
- | [msgboxfunc|MSGBOX] | + | [[{{PAGENAME}}/num|NUM]]<BR/> |
- | + | [[{{PAGENAME}}/pos|POS]]<BR/> | |
- | [not|NOT] | + | [[{{PAGENAME}}/rnd|RND]]<BR/> |
- | + | [[{{PAGENAME}}/rpos|RPOS]]<BR/> | |
- | [num|NUM] | + | [[{{PAGENAME}}/setbit|SETBIT]]<BR/> |
- | + | [[{{PAGENAME}}/sgn|SGN]]<BR/> | |
- | [pos|POS] | + | [[{{PAGENAME}}/sqrt|SQRT]]<BR/> |
- | + | [[{{PAGENAME}}/testbit|TESTBIT]]<BR/> | |
- | RND</ | + | =====| String functions===== |
- | + | [[{{PAGENAME}}/adjust|ADJUSTL/ADJUSTR]]<BR/> | |
- | [setbit|SETBIT] | + | [[{{PAGENAME}}/aschex|ASCHEX]]<BR/> |
- | + | [[{{PAGENAME}}/binary|BINARY]]<BR/> | |
- | [sgn|SGN] | + | [[{{PAGENAME}}/chksum|CHKSUM]]<BR/> |
- | + | [[{{PAGENAME}}/chr|CHR]]<BR/> | |
- | [sqrt|SQRT] | + | [[{{PAGENAME}}/dechex|DECHEX]]<BR/> |
- | + | [[{{PAGENAME}}/decihex|DECIHEX]]<BR/> | |
- | [testbit|TESTBIT]</ | + | [[{{PAGENAME}}/hexasc|HEXASC]]<BR/> |
- | + | [[{{PAGENAME}}/intel|INTEL]]<BR/> | |
- | [adjust|ADJUSTL/ADJUSTR] | + | [[{{PAGENAME}}/inteld|INTELD]]<BR/> |
- | + | [[{{PAGENAME}}/lcase|LCASE]]<BR/> | |
- | [aschex|ASCHEX] | + | [[{{PAGENAME}}/mid|MID]]<BR/> |
- | + | [[{{PAGENAME}}/move|MOVE]]<BR/> | |
- | [binary|BINARY]</ | + | [[{{PAGENAME}}/pad|PAD]]<BR/> |
- | + | [[{{PAGENAME}}/password|PASSWORD]]<BR/> | |
- | [chr|CHR] | + | [[{{PAGENAME}}/pcomm|PCOMM]]<BR/> |
- | + | ||
- | [dechex|DECHEX] | + | |
- | + | ||
- | [decihex|DECIHEX] | + | |
- | + | ||
- | [hexasc|HEXASC] | + | |
- | + | ||
- | [intel|INTEL]</ | + | |
- | + | ||
- | [lcase|LCASE] | + | |
- | + | ||
- | [mid|MID] | + | |
- | + | ||
- | [move|MOVE] | + | |
- | + | ||
- | [pad|PAD] | + | |
- | + | ||
- | [password|PASSWORD]</ | + | |
[rsub|RSUB] | [rsub|RSUB] |
Revision as of 19:55, 15 September 2008
Numeric Operators
addition +
subtraction-
multiplication *
division /
modulo MOD
String operator
Relation operators
EQ or =
NE or NOT=
GT or >
LT or <
Logical operators
Initialization statements
Assignment statements
File and directory control statements
FILE
CREATE
ERASE
CLEARFILE
RENAME
OPEN
CLOSE
LOCK
UNLOCK
ACCESS
Input/output statements
INPUT
INPUT(legacy)
AUTOINPUT
WAIT
PRINT
READ
INQUIRE
EXTRACT
WRITE
INSERT
POSITION
REWRITE
UPDATE
DELETE
LOG
MSGBOX
Encryption/decryption statements
BASE256
BASE64
ENCRYPT
DECRYPT
General program control statements=====
GOTO
ON/GOTO
IF/THEN
IF/THEN/ELSE/ENDIF
FOR/NEXT
DO/LOOP
SELECT/CASE/ENDSELECT
BREAK
CONTINUE
PAUSE
WAKEUP
Program activation statements
Program termination statements
Event-driven programming
Subroutine control statements
GOSUB
RETURN
POP
POPALL
MESSAGESUB
Subprogram control statements
Internet gateway control statement
Runtime exception control statements
ERRORTO
ERRORSUB
ESCAPETO
ESCAPESUB
AGAIN
EXCP=
EXCPSUB=
Numeric functions
ABS
ASC
FPT
HEXDEC
IHEXDEC
INT
LEN
MSGBOX
NOT
NUM
POS
RND
RPOS
SETBIT
SGN
SQRT
TESTBIT
| String functions
ADJUSTL/ADJUSTR
ASCHEX
BINARY
CHKSUM
CHR
DECHEX
DECIHEX
HEXASC
INTEL
INTELD
LCASE
MID
MOVE
PAD
PASSWORD
PCOMM
[rsub|RSUB]
[str|STR]
[string|STRING]
[strip|STRIP]
[stripl|STRIPL][stripr|STRIPR][sub|SUB]
[swap|SWAP]
[ucase|UCASE]
Date functions
[date2num|DATE2NUM][datetonum|DATETONUM]
[num2date|NUM2DATE]
[numtodate|NUMTODATE]
File and directory-related functions
[first|FIRST][key|KEY]
[last|LAST]
[path|PATH]
[prev|PREV]
[recnum|RECNUM]Status functions
[dstat|DSTAT]
[fstat|FSTAT]
[pstat|PSTAT]
[sts|STS]DOS function calls
[dosfc|DOSFC]
[dosms|DOSMS]
[dosrw|DOSRW]
Compiler directives[use|USE]
[enduse|ENDUSE]
[set|SET]
[unset|UNSET]
[dotif|.IF][dotifdef|.IFDEF]
[dotifndef|.IFNDEF]
[dotelse|.ELSE]
[[dotendif|.ENDIF]]