IB Statements
From CometWiki
(→Input/output statements) |
|||
(19 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
======Numeric Operators====== | ======Numeric Operators====== | ||
- | [[{{PAGENAME}}/operations|addition +]]<br/> | + | [[{{PAGENAME}}/operations#addition |addition +]]<br/> |
- | [[{{PAGENAME}}/operations|subtraction-]]<br/> | + | [[{{PAGENAME}}/operations#subtraction|subtraction-]]<br/> |
- | [[{{PAGENAME}}/operations|multiplication *]]<br/> | + | [[{{PAGENAME}}/operations#multiplication |multiplication *]]<br/> |
- | [[{{PAGENAME}}/operations|division /]]<br/> | + | [[{{PAGENAME}}/operations#division |division /]]<br/> |
- | [[{{PAGENAME}}/operations|modulo MOD]]<br/> | + | [[{{PAGENAME}}/operations#modulo |modulo MOD]]<br/> |
+ | |||
======String operator====== | ======String operator====== | ||
[[{{PAGENAME}}/operations#String Operation (Concatenation)|string +]] | [[{{PAGENAME}}/operations#String Operation (Concatenation)|string +]] | ||
Line 25: | Line 26: | ||
[[{{PAGENAME}}/clear|CLEARLOCAL]]<br/> | [[{{PAGENAME}}/clear|CLEARLOCAL]]<br/> | ||
[[{{PAGENAME}}/clear|CLEARCOMMON]]<br/> | [[{{PAGENAME}}/clear|CLEARCOMMON]]<br/> | ||
+ | [[{{PAGENAME}}/ClearFormat|ClearFormat]]<BR/> | ||
=====Assignment statements===== | =====Assignment statements===== | ||
[[{{PAGENAME}}/let|LET]]<br/> | [[{{PAGENAME}}/let|LET]]<br/> | ||
Line 60: | Line 62: | ||
[[{{PAGENAME}}/InputFile and PrintFile|InputFile and PrintFile - C32]]<BR/> | [[{{PAGENAME}}/InputFile and PrintFile|InputFile and PrintFile - C32]]<BR/> | ||
[[{{PAGENAME}}/GetFormat|GetFormat and SetFormat - C32]]<BR/> | [[{{PAGENAME}}/GetFormat|GetFormat and SetFormat - C32]]<BR/> | ||
+ | [[{{PAGENAME}}/ClearFormat|ClearFormat]]<BR/> | ||
+ | [[{{PAGENAME}}/StripFormat|StripFormat]]<BR/> | ||
=====Encryption/decryption statements===== | =====Encryption/decryption statements===== | ||
Line 71: | Line 75: | ||
[[{{PAGENAME}}/if|IF/THEN]]<BR/> | [[{{PAGENAME}}/if|IF/THEN]]<BR/> | ||
[[{{PAGENAME}}/if|IF/THEN/ELSE/ENDIF]]<BR/> | [[{{PAGENAME}}/if|IF/THEN/ELSE/ENDIF]]<BR/> | ||
- | [[{{PAGENAME}}/|FOR/NEXT]]<BR/> | + | [[{{PAGENAME}}/for|FOR/NEXT]]<BR/> |
[[{{PAGENAME}}/do|DO/LOOP]]<BR/> | [[{{PAGENAME}}/do|DO/LOOP]]<BR/> | ||
[[{{PAGENAME}}/select|SELECT/CASE/ENDSELECT]]<BR/> | [[{{PAGENAME}}/select|SELECT/CASE/ENDSELECT]]<BR/> | ||
Line 78: | Line 82: | ||
[[{{PAGENAME}}/pause|PAUSE]]<BR/> | [[{{PAGENAME}}/pause|PAUSE]]<BR/> | ||
[[{{PAGENAME}}/wakeup|WAKEUP]]<BR/> | [[{{PAGENAME}}/wakeup|WAKEUP]]<BR/> | ||
- | [[{{PAGENAME}}/UserDefinedProcs|User Defined Procedures]]<BR/> | + | [[{{PAGENAME}}/UserDefinedProcs|User Defined Procedures -C32]]<BR/> |
=====Program activation statements===== | =====Program activation statements===== | ||
Line 93: | Line 97: | ||
[[{{PAGENAME}}/eventsub|EVENTSUB]]<BR/> | [[{{PAGENAME}}/eventsub|EVENTSUB]]<BR/> | ||
[[{{PAGENAME}}/eventwait|EVENTWAIT]]<BR/> | [[{{PAGENAME}}/eventwait|EVENTWAIT]]<BR/> | ||
+ | [[{{PAGENAME}}/SetTimer|SETTIMER]]<BR/> | ||
=====Subroutine control statements===== | =====Subroutine control statements===== | ||
[[{{PAGENAME}}/gosub|GOSUB]]<BR/> | [[{{PAGENAME}}/gosub|GOSUB]]<BR/> | ||
Line 112: | Line 117: | ||
[[{{PAGENAME}}/escapesub|ESCAPESUB]]<BR/> | [[{{PAGENAME}}/escapesub|ESCAPESUB]]<BR/> | ||
[[{{PAGENAME}}/again|AGAIN]]<BR/> | [[{{PAGENAME}}/again|AGAIN]]<BR/> | ||
- | [[{{PAGENAME}}/ | + | [[{{PAGENAME}}/excp|EXCP]]<BR/> |
- | [[{{PAGENAME}}/excpsub|EXCPSUB | + | [[{{PAGENAME}}/noexcp|NOEXCP - C32]]<BR/> |
+ | [[{{PAGENAME}}/excpsub|EXCPSUB]]<BR/> | ||
=====Numeric functions===== | =====Numeric functions===== | ||
[[{{PAGENAME}}/abs|ABS]]<BR/> | [[{{PAGENAME}}/abs|ABS]]<BR/> | ||
Line 178: | Line 184: | ||
[[{{PAGENAME}}/dosfc|DOSFC]]<BR/> | [[{{PAGENAME}}/dosfc|DOSFC]]<BR/> | ||
[[{{PAGENAME}}/dosms|DOSMS]]<BR/> | [[{{PAGENAME}}/dosms|DOSMS]]<BR/> | ||
- | [[{{PAGENAME}}/ | + | [[{{PAGENAME}}/DOSRW|DOSRW]]<BR/> |
+ | |||
=====Compiler directives===== | =====Compiler directives===== | ||
[[{{PAGENAME}}/use|USE]]<BR/> | [[{{PAGENAME}}/use|USE]]<BR/> |
Latest revision as of 21:01, 27 July 2012
Numeric Operators
addition +
subtraction-
multiplication *
division /
modulo MOD
String operator
Relation operators
EQ or =
NE or NOT=
GT or >
LT or <
SOUNDEX
CONTAINS
Logical operators
Initialization statements
CLEAR
CLEARLOCAL
CLEARCOMMON
ClearFormat
Assignment statements
File and directory control statements
FILE
CREATE
ERASE
CLEARFILE
RENAME
OPEN
CLOSE
LOCK
UNLOCK
ACCESS
SearchFile - C32
Input/output statements
INPUT
INPUT(legacy)
AUTOINPUT
WAIT
PRINT
READ
INQUIRE
EXTRACT
WRITE
INSERT
POSITION
REWRITE
UPDATE
DELETE
LOG
MSGBOX
InputFile and PrintFile - C32
GetFormat and SetFormat - C32
ClearFormat
StripFormat
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
User Defined Procedures -C32
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
NOEXCP - C32
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
STR
STRING
STRIP
STRIPL
STRIPR
SUB
SWAP
UCASE
Date functions
DATE2NUM
DATETONUM
NUM2DATE
NUMTODATE
FIRST
KEY
LAST
PATH
PREV
RECNUM