IB Statements

From CometWiki

Revision as of 21:01, 27 July 2012 by Barb (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

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

RUN
ACTIVATE
INTERRUPT

Program termination statements

STOP
END
ERROR
TERMINATE
KILL

Event-driven programming

EVENTSUB
EVENTWAIT
SETTIMER

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