Pre-defined manifest constantsΒΆ
The following manifest constants are pre-defined in Sculptor, but do not appear in the standard include files.
Compiler types (defined without a value)
SAGE |
Automatically defined when a screen form language is being compiled with scc. This enables standard subroutine libraries to include pieces of code which are only to be compiled if the program containing or including them is a screen form program. This is done by declaring !if[n]def SAGE. |
SAGEREP |
As above, except that SAGEREP is only defined when scc is compiling a report/batch language program. Either SAGE or SAGEREP will always be defined, but not both. Therefore, !ifdef SAGE is effectively the same as !ifndef SAGEREP. |
Operating system types (defined without a value)
MSDOS |
Defined only when compiling with the MSDOS version of scc. |
UNIX |
Defined only when compiling with a UNIX or XENIX version of scc. This constant is also defined in derivatives of these operating systems such as SINIX and SUNOS. |
States and return values
OFF |
0 |
CLOSE_DIALOG |
2 |
ON |
1 |
CANCEL_DIALOG |
3 |
FALSE |
0 |
LEFT |
1 |
TRUE |
1 |
RIGHT |
2 |
OKAY |
0 |
CENTRE |
3 |
ERROR |
1 |
CENTER |
3 |
RELATED TOPICS |