home *** CD-ROM | disk | FTP | other *** search
- ABS(solute) [Let %!a = -5; ABS %!a; If %!a = 5 Goto Branch] Page 17
- ADD %!a 5 {adds 5 to variable} Page 17
- ANSI {tells compiler to use ANSI.SYS for screen writes} Page 18
- Batcom [File.BAT] [[/A]/[/B]] [/D] [/DS] [/NL] [/Ofile.OBJ] Page 15
- BEEP {sounds a short beep} Page 18
- BIOS {tells compiler to use bios drivers for screen writes} Page 18
- BOX r1 c1 r2 c2 {BOX 1 1 23 79 (a single border box)} Page 19
- CLEARBUF {clears typeahead keyboard buffer} Page 34
- CLOSE_FILE {close the READ_FILE text.fil being read} Page 39
- Compiled commands Page 14
- COPYD {like COPY but won't overwrite newer copy with an older one} Page 16
- DAY_OF_MONTH {where ERRORLEVEL for 1=1-31=31} Page 46
- DAY_OF_WEEK {where ERRORLEVEL for Sun=0-Sat=6} Page 46
- DIV %!a 5 {divides variable by 5} Page 15
- DOUBLE_BOX r1 c1 r2 c2 {DOUBLE_BOX 1 1 23 79 (a double border box)} Page 19
- DO_IF [DO_IF condition; commands; else; commands; END_IF] Page 22
- DO_WHILE [DO_WHILE condition; commands; END_WHILE] Page 16
- END_IF [DO_IF condition; commands; else; commands; END_IF] Page 22
- END_WHILE [DO_WHILE condition; commands; END_WHILE] Page 17
- ECHO [\\#] {where # is ascii code} [\#] {this is the escape character} Page 25
- ECHONOLF [\\#] {where # is ascii code} [\#] {escape character} Page 24
- EMMFREE %!a (expanded memory {stored in variable}) Page 26
- EMMSTATUS {returns ERRORLEVEL where <>0 = an error or not present} Page 26
- END_OF_FILE? {returns ERRORLEVEL where <>0 = end of READ_FILE} Page 39
- ERRLEVEL {same as DOS's ERRORLEVEL but requires an exact match test} Page 23
- ERROR_LEVEL %!a {converts current ERRORLEVEL value to a variable} Page 26
- EQ %1 50 {returns ERRORLEVEL where <>0 = two variable aren't equal} Page 27
- EXIT [#] {cancels program, if number used passes on to ERRORLEVEL} Page 27
- FILEDATE Filename.ext {returns ERRORLEVEL value}; ERROR_LEVEL %!a; Page 28
- day(mod 32); month(mod 512; div 32); yr(div 512; add 1980)
- FILESIZE %!a {converts filespec %!a to total of bytes in files} Page 29
- FILETIME Filename.ext {returns ERRORLEVEL value}; ERROR_LEVEL %!a; Page 28
- hr(div 2048); min(mod 2048; div 32); sec(mod 32; mul 2)
- FIND_STRING {Let %!s = text; FIND_STRING %!s ex; (%!a now = 2)} Page 30
- FREEDISK %!a {converts drivespec %!a to total of bytes left on drive} Page 30
- FREEMEM %!a {places current free memory total into variable %!a} Page 31
- FORMFEED {sends ASCII 12 (page eject) to PRN} Page 31
- GE %1 50 {returns ERRORLEVEL where <>0 =two variable aren't Grt Than=2} Page 27
- GETDIR %!a {places current directory string into variable %!a} Page 31
- GETDRIVE %!a {places current drive string into variable %!a} Page 31
- GETKEY {see KEYVAL (p. 72) table p. 74 for ERRORLEVEL returned} Page 32
- GOSUB [Labelname] {branches to label which must contain a RETURN} Page 32
- GOSUB_PARAMETER %!a {places GOSUB parameter into variable %!a} Page 33
- GT %1 50 {returns ERRORLEVEL where <>0 =two variable aren't Grt Than} Page 27
- HOUR_HOUR {where ERRORLEVEL is returned of 0-23 for 24hr clock} Page 29
- IF [not] par1 = par2 [branch] {case insensitive IF test} Page 34
- IF [not] par1 == par2 [branch] {case sensitive IF test} Page 34
- IF TRUE [Command] {same as IF ERRORLEVEL = 1} Page 34
- IF FALSE [Command] {same as IF NOT ERRORLEVEL = 1} Page 34
- KEYBUF text\#text\# {where #=ascii number} (typeahead keyboard buffer) Page 34
- KEYPRESSED {returns ERRORLEVEL where <>0 = a key hasn't been pressed} Page 24
- KEYVAL {returns GETKEY's ERRORLEVEL at prompted key press} .EXE progrm Page 72
- LABEL [labelname] {same as :labelname} Page 36
- LE %1 50 {returns ERRORLEVEL where <>0=two variable aren't Less Than=2} Page 27
- LOCATE #r #c {where #r = row 1-25, #c = column 1-80} (Locate 10 15) Page 36
- LOWER %!a {converts all text in %!a to lower case} Page 45
- LT %1 50 {returns ERRORLEVEL where <>0=two variable aren't Less Than} Page 27
- LTRIM %!a {transfomrs %!a to string without leading spaces} Page 36
- MINUTE_MINUTE {where ERRORLEVEL 0-59 returned for current minute}* Page 46
- MOD %!a 5 {divides variable by 5 returning modulus (remainder)} Page 27
- MONTH_MONTH {where ERRORLEVEL for Jan=1-Dec=12} Page 46
- MSC _objfile %!a [input] {BATCOM /Oobjfile, see manual} Page 58
- MUL %!a 5 {multiplies variable by 5} Page 27
- Nest levels for DO_IF & DO_WHILE are up to 20 deep Page 22
- PARSE %!a %!b ,.; {%!a contains 1st word %!b rest of string %!b} Page 37
- PAUSE [Prompt] [\\#] {where # is ascii code} [\#] {escape character} Page 25
- PAUSENOLF [Prompt] [\\#] {# is ascii code} [\#] {escape character} Page 24
- READ %!a {pauses and receives user's input into %!a} Page 37
- READ_FILE %!a [File.Txt] {[F.T] only at 1st} (%!a = line read of file) Page 38
- READ_SCREEN %!a {places current row of screen display into %!a} Page 41
- RESTORE_SCREEN {use SAVE_SCREEN beforehand, not just for TSR's} Page 55
- RTRIM %!a {transforms %!a to string without trailing spaces} Page 41
- SAVE_SCREEN {use RESTORE_SCREEN afterwards, not just for TSR's} Page 55
- SECONDS_SECONDS {where ERRORLEVEL 0-59 returned for current second} Page 46
- SET_BACKGROUND_COLOR # {where # = 0-15; black is 0 & 8, white is 15} Page 41
- SET_COLOR # {where # is dependent on # allowed, begins with 0} Page 42
- SET_VIDEO_MODE # {where # = 0-19; cga0-6\ma7\herc8\ega13-16\vga17-19} Page 43
- STRING_LENGTH %!a {converts %!a to numeric length of %!a} Page 44
- SUB %!a 5 {subtract 5 from variable} Page 27
- SUBSTRING %!a #p #l {where #p=position to start at, #l=length to pull} Page 45
- TSR #1 #2 {#1=key value, #2=shift status} Page 50
- TSR_DISABLE {disables a TSR's hot-key see manual for usage} Page 52
- TSR_ENABLE {enables a TSR's hot-key see manual for usage} Page 52
- TSR_INSTALLED? {sets ERRORLEVEL <>0 if TSR installed, see manual} Page 51
- TSR_POPUP {activates TSR without needing to use hotkey, see manual} Page 54
- TSR_UNLOAD {removes TSR from memory, see manual} Page 53
- UPPER %!a {converts all text in %!a to upper case} Page 45
- User defined variables %!a-to-%!z [Let %!a = %1] Page 17
- WAIT # {pause display until # of seconds has passed} Page 46
- WAITKEY # {pause display until # of seconds has passed or key pressed} Page 46
- YEAR_YEAR {where ERRORLEVEL = (1980-2099)} Page 46