User Tools

Site Tools


jvs:fscan:manual:chapter3:winkeys:go

This is an old revision of the document!


fScan Reference Manual, Chapter 3 (KeyCmds:WinKeys): go

Go -- Execute a command string

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 a cumulative command buffer (CMDTEXT), do not execute yet
     3 - append CMD to the cumulative CMDTEXT buffer, and execute all of CMDTEXT as a command line

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

jvs/fscan/manual/chapter3/winkeys/go.1343695261.txt.gz · Last modified: 2014/08/04 16:03 (external edit)