IB Statements

From CometWiki

(Difference between revisions)
Jump to: navigation, search
(| String functions)
Line 57: Line 57:
[[{{PAGENAME}}/encrypt|ENCRYPT]]<BR/>
[[{{PAGENAME}}/encrypt|ENCRYPT]]<BR/>
[[{{PAGENAME}}/decrypt|DECRYPT]]<BR/>
[[{{PAGENAME}}/decrypt|DECRYPT]]<BR/>
-
=====General program control statements==========
+
=====General program control statements=====
[[{{PAGENAME}}/goto|GOTO]]<BR/>
[[{{PAGENAME}}/goto|GOTO]]<BR/>
[[{{PAGENAME}}/ongoto|ON/GOTO]]<BR/>
[[{{PAGENAME}}/ongoto|ON/GOTO]]<BR/>

Revision as of 20:15, 15 September 2008

Contents

[hide]
Numeric Operators

addition +
subtraction-
multiplication *
division /
modulo MOD

String operator

string +

Relation operators

EQ or =
NE or NOT=
GT or >
LT or <

Logical operators

AND
OR
XOR

Initialization statements

CLEAR
CLEARLOCAL
CLEARCOMMON

Assignment statements

LET
SECURE

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

RUN
ACTIVATE
INTERRUPT

Program termination statements

STOP
END
ERROR
TERMINATE
KILL

Event-driven programming

EVENTSUB
EVENTWAIT

Subroutine control statements

GOSUB
RETURN
POP
POPALL
MESSAGESUB

Subprogram control statements

ENTER
EXIT
EXITTO
EXITALL

Internet gateway control statement

CONTROL

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
STR
STRING
STRIP
STRIPL
STRIPR
SUB
SWAP
UCASE

Date functions

DATE2NUM
DATETONUM
NUM2DATE
NUMTODATE

File and directory-related functions

FIRST
KEY
LAST
PATH
PREV
RECNUM

Status functions

DSTAT
FSTAT
PSTAT
STS

DOS function calls

DOSFC
DOSMS
DOSRW

Compiler directives

USE
ENDUSE
SET
UNSET
.IF
.IFDEF
.IFNDEF
.ELSE
.ENDIF

Personal tools