IB Statements

From CometWiki

Revision as of 12:01, 13 June 2009 by Badge (Talk | contribs)
Jump to: navigation, search

Contents

[hide]
Numeric Operators

addition +
subtraction-
multiplication *
division /
modulo MOD

String operator

string +

Relation operators

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

Logical operators

AND
OR
XOR

Initialization statements

CLEAR
CLEARLOCAL
CLEARCOMMON
ClearFormat

Assignment statements

LET
SECURE

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

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

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
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

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