EXECUTE
Keywords: sic

Next: EXAMINE Up: SIC Language Internal Help Previous: END Contents Index

##
EXECUTE

            [SIC\]EXECUTE CommandString

        Execute  the command line given as argument. It can be an explicit char-
        acter string, a string variable contents, or a mixture of both. For  ex-
        ample:

        ! Simple command
        SIC> SIC\EXECUTE EXAMINE

        ! Command with several words
        SIC> SIC\EXECUTE "EXAMINE /GLOBAL"

        ! Command stored in variable
        SIC> DEFINE CHARACTER*32 COMMAND
        SIC> LET COMMAND "EXAMINE /GLOBAL"
        SIC> SIC\EXECUTE 'COMMAND'

        ! Command stored in several variables
        SIC> DEFINE CHARACTER*32 COMMAND OPTION
        SIC> LET COMMAND "EXAMINE"
        SIC> LET OPTION "/GLOBAL"
        SIC> SIC\EXECUTE 'COMMAND'" "'OPTION'

        The  error  status  of the executed command is propagated to the EXECUTE
        command, except for @ (errors raised by @ are lost).