Common Commands and Functions
cm4
ABScc48 (numeric expression)
ALERTcc2 ["message string"] [,type]
[,variable]
ARRAYSTATcc2a (array1, number of items)
ASCcc2aa ("ascii character")
BIT_ANDcc2b (a,b)
BYEcc3
CEILcc49 (numeric expression)
CHECKcc49a ("keyword",
"name")
CHR$cc49b (ascii number)
CLOSEcc4 [#file number] [,...]
CMDLINEcc5 1/0
COLScc75 (matrix name)
COMMANDScc6
COPYcc7 "from name", "to name"
[,DONTASK]
CPBYEcpbye
CPPURGEcppurge symbol
CPSHOWWINcpshowwin winid [,loc]
CPTAGcptag symbol
CPTITLEcc8 "title string"
CPTITLE$cc8a ( )
CPTOOLcptool symbol, anyobject, symbol, scalar
DATE$cc50 ( )
DDEADVISEcc69 channel, "item", variable name
DDEEXECUTEcc70 channel, "command"
DDEINITIATEcc71 ("application name",
"topic")
DDEPOKEcc72 channel, "item",
"string"
DDEREQUESTcc73 channel, "item", variable name
DDETERMINATEcc74 channel
DELETEcc9 "file / directory" [,DONTASK]
DIMcc9a variable name, scalar1 [,scalar2]
DLLINSTALLcc9b ("filename")
DLLREMOVEdllremove scalar
DOSRUNcc10 "runstring"
ECHOcc11 1/0
ECHOMODEcc12 1/0
ELSEcc16b
ENDIFcc16b
EOFcceof (filenumber)
EQSTRcc68 ("s1", "s2")
EVALUATEcc13 "command string"
EXECcc67 ("runstring", window size)
EXPcc51 (numeric expression)
FILEATTRIBUTES$cc82 ("path", "attributes")
FILESIZECD15 "filename"
FILESTATcc82a ("directory" /
"filename")
FINDFIRSTFILEcc82b ("mask", "output
variable", "attributes")
FINDNEXTFILEcc82c (handle, "output variable")
FLOORcc52 (numeric expression)
FREESPACEcc52a ("drive letter")
GENERATE_ERRORcc14 [error number] [,"string"]
GETCWD$cc53 ( )
GETINFOcc66 ("item name")
GETINIINTcc66b ("filename", "application
name","keyname")
GETINISTRING$cc66a ("filename", "application
name", "keyname")
GETPROPERTYgetproperty string, string, symbol
GETWINDOWIDcc15 "title"
GETWINLOCcc15a [x] [,y] [,width] [,height]
HELPcc16
IF THEN [ELSE] ENDIFcc16b
INISTRFORINT$cc16a ("filename", "application
name", scalar)
INPUTcc17 "string expression", string
variable
INPUTcc79 #file number, variable$
INPUT6cc17a type, count, "title", label
object, button object, variable name [,help index] [,help file]
INSERTcc17b index, destination, source
INSTRcc54 ("s1", "s2")
JOINcc78 destination name, source name
LENcc55 ("string expression")
LNcc56 (numeric expression)
LOCALcc18 variable name [,variable name] [,...]
LOGcc57 (numeric expression)
LOGGINGcc19 [1/0] [,"filename"] [,commands]
[,messages] [,errors] [,info] [,erase]
LOWER$cc19a ("string")
MACROcc20 ["macro filename"] [,GO]
MDIARRANGEccmdiarrange
MDICASCADEccmdicascade
MDITILEccmditile 0/1
MENUBEGcc21
MENUCHGcc21a objectname, "string" [,"menu
item"] [,"command / macro"] [,"help text"]
["control text"]
MENUCMDcc22 "label string", "command
string" [,"message string"] [,variable name]
MENUCMDFNcc22a "label string", "command
string" [,"message string"] [,"string"]
MENUENDcc23 [objectname]
MENUHLPcc24 1/0
MENUNEWcc25 "name string"
MENUSEPcc26
MENUSHWcc26a [objectname]
MENUSTPcc27 ["label string"] [,"message
string"]
MENUVARcc28 "label string", "assignment
statement", "message string"
MKDIRcc29 "directory name"
MODcc29a (a,b)
MTIMEcc58 (numeric expression)
NAMEcc58a macroname
NUMcc76 (setname / arrayname)
ON_ERRORcc30 trap
OPENcc31 "filename" FOR OUTPUT / FOR APPEND / FOR INPUT AS
#file number
PARAMETERcc31a parameter list
PRINTcc32 expression [,...]
PRINTcc33 #file number, expression [,...]
PRINTcc34 USING "format image string",
expression [,expression] [,...]
PRINTcc35 USING #file number, "format image string",
expression [,expression] [,..]
PRINTTEXTFILEcp23 "filename"
PROTECTMACROccprot ["filename"],
["password"]
PULLOUTcc35a index, source, destination
REMOVEcc36 [macro name / variable name] [,...]
REMOVELISTcc36a ["basename"]
RENAMEcc37 "from name", "to name",
[,DONTASK]
RETURNcc38
RMDIRcc39 "directory name"
ROUNDccround (number)
ROWScc77 (matrix name)
RUNCLASScc77a (run type)
SELECTFILEcc40 attribute, "title"
[,"extension"], name for path variable, name for file variable, name
for file status variable
SDIMcc40a set name, positive integer
SETINFOcc75a "item name"
SETINISTRINGcc75b ("filename", "application
name", "keyname", "string")
SLEEPcc41 time
SPRINTcc80 variable name, expression [,...]
SPRINT USINGcc81 "format image
string", expression [,expression] [,...]
SQRcc59 (expression)
SQRTcc60 (expression)
STRCMPcc60a ("string1" ,"string2")
TIMEcc61 ( )
TIME$cc62 ( )
TOPCMDcc62a "command"
TOPDOTcc42 variable name
TRUNCcc63 (expression)
UNPROTECTMACROccunprot ["filename"],
[“password”]
UPPER$cc19b ("string")
VALcc65 ("string")
VAL$cc64 (expression)
VARLOCKcc43 1/0
VERSIONcc44
VERSION$versionf ( )
WHILE - ENDWHILEcc44a
WINMOVEcc45 [x] [,y]
WINSIZEcc46 [width] [,height]