Команды SFK


    1        2        3        4        5        6        7        8        9        10    

Раздел 7. Scripting - Скрипты
alias | batch | call | cd | clock | color | echo | for | getcwd | label | loop | mkcd | pause | require | setvar | sleep | stop | storetext | tee | time | tofile | toterm |

Help:   Рус   |   Eng        

Команда: stop
sfk ... +stop [rc] [text]

   stop command chain execution.
   returns with code 0 or given rc.

   add a text within "" quotes to print it.

   rc 0 to 8 stops current function only.
   rc 9 or higher also stops calling code
   and produces a dump of chain text data.

   options
      -all      alias for return code 9,
                to stop whole sfk execution.
      -text s   specify text s

   examples
      see "sfk tail" for a script example.
      sfk -showrc echo "hello" +stop 3
         produces shell return code 3.