User Tools

Site Tools


jvs:cigal:manual:chapter4:state

CIGAL Reference Manual, Chapter 4 (Variables): state

State -- Integer variable showing the current execution status of CIGAL

usage: dest = state

STATE, an internally defined integer variable, reflects the current run status of CIGAL during execution. This variable is read-only. The program continuously updates its value.

The meaning of the different STATE flags are summarized below:

     Decimal     Octal    Meaning
         1          1     COMMAND -- Executing a command string
         2          2     MACRO -- Running macro program
         4          4     COMPILED -- Running a compiled macro
         8         10     START -- Running a START macro file
        16         20     COUNT -- Counting output lines per page
        32         40     TEMP -- A tempfile has been opened
        64        100     EDIT -- Running the CIGAL Editor
       128        200     SYSSTART -- Running system start-up macro
       256        400     INTERRUPT -- Ctrl-c (or Ctrl-b) has been issued
       512       1000     COMPILING -- Compiling a macro program
      1024       2000     DEBUG -- Executing command in debug mode
      2048       4000     ERROR -- An error has occurred
      4096      10000     QUIT -- Executing QUITSTR, quit when done
      8192      20000     ALARM -- Alarm timer has been set
     16384      40000     PAGE -- Pause printed output after each full screen

See Also:
CIGAL Home, CIGAL Manual, Variables List, Manual Help

jvs/cigal/manual/chapter4/state.txt · Last modified: 2023/02/23 18:43 (external edit)