**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:**\\ [[jvs:cigal|CIGAL Home]], [[jvs:cigal:manual|CIGAL Manual]], [[jvs:cigal:manual:chapter4|Variables List]], [[jvs:cigal:manual:help|Manual Help]]