From CometWiki
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
(Verify File)
Mnemonic: (Verify File=source-file,destination-file,flags)
Discussion: This mnemonic verifies that the destination-file is present at the target machine and that it is up to date with the source-file on the host machine. If the remote file is out of date, the source-file is automatically transferred to the remote machine replacing the destination-file.
A 32-bit value is returned via (GetFuncResult). The lower 16 bits is the error code from the host machine and the upper 16 bits is the error code from the remote machine. If both are 0 then the function completed successfully.
Flags is a numeric value representing the sum of the numeric values listed in the following chart:
Flag Reference name Description
1 VF.MODIFY Check modify date
2 VF.SIZE Check filesize
4 VF.SAMEFILE Modify time and size must match
8 VF.FORCESEND Always send file
16 VF.CREATEALIAS Create alias if required
32 VF.CHECKONLY Don't send file
64 VF.SHOWSTATUS Show progress bar while file is being transferred
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@"
(BeginWaitCursor) turns on hourglass cursor
(BF) blank fill "@0406@"
(BM) blind mode "@0405@"
(CapsOff) turns the Caps Lock key off
(CapsOn) turns the Caps Lock key on
(CA Sessions=number) sets a limit on the number of CometAnywhere sessions
(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@"
(CPL132) set 132-column mode "@040009@"
(CPL64) set 64-column mode "@0402@"
(CPL80) set 80-column mode "@0403@"
(CR) cursor return "@0D@"
(CreateWindow=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 legacy window "@0E0D00wwxxyyzz@"
(CreateWindowEx=column,row,width,height,style,flags,caption$) create extended window
(CrMode=mode) Set CR mode
(CS) clear screen "@05@"
(DE) set default characters per line "@0404@"
(DeleteWindow) delete legacy window "@0E0D01@"
(DeleteWindowEx=handle$) delete extended window
(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@"
(EndWaitCursor) turns off hourglass cursor
(ET) enter typewriter mode "@0E05@"
(FT) force transmit "@0408@"
(Full Scan Codes Passed) send all scan codes "@0E000E@"
(Get Session ID) get session ID and session instance
(Hide Cursor) makes cursor invisible
(HyperLink=text$,action$,style) creates a Comet hyperlink
(HyperLinkColor=R,G,B,r,g,b) establishes colors for a Comet hyperlink
(Ignore Windows) write to any screen location, disregarding windows
(InitInputData) display initial data with new INPUT statement
(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=string$) 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@"
(RB) ring bell "@07@"
(RC) restore cursor "@09@"
(RD) roll down "@040B@"
(Redraw Notify) redraw notify
(Request ID) request workstation ID "@040001@"
(Reset Screen) clears all windows and dialog boxes from the screen
(Restore Screen) restore screen display "@040004@"
(RestoreWaitCursor) restores hourglass cursor if it was previously on
(RJ) right justify mark "@0B@"
(RU) roll up "@040A@"
(SatisfyInput=data$) provides input data to INPUT statement from an event handling subroutine
(Save Screen) save screen display "@040003@"
(SB) start background "@08@"
(Scan Codes Off) turn full scan codes off "@0E000F@"
(Screen=columns,rows) set screen size
(SelectWindowEx=handle$,flags) select extended window
(Set Window Caption) set window caption
(SF) start foreground "@0A@"
(Shell Execute) shell execute (launch Windows program/document)
(Shell Execute Wait) shell execute and wait for Windows program to finish
(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