fScan Reference Manual, Chapter 3 (KeyCmds:WinKeys): go
usage: “cmd” flg G
The GO interactive command allows you to specify a character string, CMD, and then execute that string as either a command line sequence or as a an interactive command sequence. If the string argument CMD is omitted, the GO command will prompt you to enter the string interactively.
The FLG argument allows you to select GO options:
FLG: 0 - execute CMD as an interactive command sequence 1 - (default) execute CMD as a fScan command line 2 - append CMD to command buffer (CMDTEXT), do not execute yet 4 - execute all commands in buffer (CMDTEXT) (see NOTE below) 32 - do not do '$' string substitutions on CMD 64 - just echo commands without executing them NOTE: Even FLAG values will be executed as interactive command strings, and Odd FLAG values will be executed as command line commands.
Examples:
G - prompt the user to enter a fScan command line 0G - prompt the user to enter a fScan interactive command string "-o"G - save the current window as a disk file, using the window name as the file name "-set accept fname 'Enter file name:' -o $fname"G - prompt the user to enter a file name, then save the current window with that name
See Also:
fScan Home,
fScan Manual,
KeyCmds,
WinKeys,
Manual Help