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
     4 - execute all of command buffer (CMDTEXT)
    32 - do not do '$' string substitutions on CMD
    64 - just echo commands without executing them

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.1430768680.txt.gz · Last modified: 2015/05/04 19:44 by voyvodic