Introduction MTB Statements File System Compiler Applications Reference Guide Index

Language Structure Data Division I/O Format Division Procedure Division Mnemonics

Video mnemonics

Mnemonic Description Hex equivalent
@(column,row) position cursor "@01xxyy@"
xx = row + 1
yy = column
(Auto TAB Off) auto Tab off "@0E0004@"
(Auto TAB On) auto Tab on "@0E0003@"
(BF) blank fill "@0406@"
(Blink) no longer supported

(BM) blind mode "@0405@"
(Bright) no longer supported

(CF) clear foreground "@06@"
(CFLD) clear field "@0407@"
(CH) cursor home
(Change Color=ARG1$) change foreground color "@0E0E0Bxx00@"
(Change Colors=ARG1$,ARG2$,ARG3$,ARG4$,ARG5$)

ARG1$ = foreground
ARG2$ = background
ARG3$ = invisible
ARG4$ = border
ARG5$ = entry
(all in hex)

change screen colors "@0E0E0Evvwwxxyyzz@"
(Check Box Off) no longer supported "@CAC6B6@"
(Check Box On) no longer supported "@CACEB6@"
(Close Icon) no longer supported "@CCB8@"
(CPL132) set 132-column mode "@040009@"
(CPL64) set 64-column mode "@0402@"
(CPL80) set 80-column mode "@0403@"
(CR) cursor return "@0D@"
(Create Window=a,b,c,d)

a = upper left column
b = upper left row
c = lower right column
d = lower right row
(all values are decimal)

Create Comet window "@0E0D00wwxxyyzz@"
(CrMode=mode) Set CR mode
(CS) clear screen "@05@"
(DE) set default characters per line "@0404@"
(Delete Window) delete Comet window "@0E0D01@"
(Draw box=a,b,c,d)

a = upper left column
b = upper left row
c = lower right column
d = lower right row
(all values are decimal)

draw box
(Easy Scan) set easy scan mode
(EN) enter normal mode "@0E06@"
(Enhanced Characters On) no longer supported enable the enhanced character set "@0E0907@"
(Enhanced Characters Off) no longer supported disable the enhanced character set "@0E0908@"
(ET) enter typewriter mode "@0E05@"
(FT) force transmit "@0408@"
(Full Scan Codes Passed) send all scan codes "@0E000E@"
(Hide Cursor) makes cursor invisible
(Ignore Windows) write to any screen location, disregarding windows
(Insert Off) turns Insert key off
(Insert On) turns Insert key on
(Invoke HELP) set auto help mode "@0E01@"
(Kill Session) kill a Comet session without displaying a dialog
(Launch) launch a Windows application or document
(LD) line delete "@040A@"
(LI) line insert "@040B@"
(MC) remember cursor "@0401@"
(Normal Input) turns off (Upper Case Input)
(Partial Scan Codes Off) turn partial scan codes off "@0E0008@"
(Partial Scan Codes On) turn partial scan codes "@0E0007@"
(Radio Button Off) no longer supported
(Radio Button On) no longer supported
(RB) ring bell "@07@"
(RC) restore cursor "@09@"
(RD) roll down "@040B@"
(Request ID) request workstation ID "@040001@"
(Reset Screen) clears all windows and dialog boxes from the screen
(Restore Screen) restore screen display "@040004@"
(RJ) right justify mark "@0B@"
(RU) roll up "@040A@"
(Save Screen) save screen display "@040003@"
(SB) start background "@08@"
(Scan Codes Off) turn full scan codes off "@0E000F@"
(Screen) set screen size
(SF) start foreground "@0A@"
(Shell to DOS=ARG1$)

ARG1$ is a valid DOS command (it may be null).

shell to DOS "@0E0E0A00@"
(Show cursor) make cursor visible
(Single Key Transmit) single key transmit mode "@040002@"
(SSB) start suppressed background "@040C@"
(Std Keyboard Off) standard keyboard off "@0E0006@"
(Std Keyboard On) standard keyboard on "@000E05@"
(Switch Session=numeric-argument) switch Comet session "@0E0Cxx@"
(TM) transmit mark "@0C@"
(Upper Case Input) automatically converts all input to upper case
(TP) transmit stop mark "@0409@"
(WC) write to control line "@0E07@"
(Window Title Background=ARG1$,ARG2)

ARG1$ = window title
ARG2 = position

display window title as background characters
(Window Title Foreground=ARG1$,ARG2)

ARG1$ = window title
ARG2 = position

display window title as foreground characters