CADKEY Workshop 21.5 CADL Compiler not working
CADKEY Workshop 21.5 CADL Compiler not working
(OP)
The command line CADL compiler CADLCOMP.exe located in the C:\Program Files\WorkshopEX21.5\ directory:
1. Is lacking the prompt support text file.
The command:
CADLCOMP ??
Outputs: Prompt not found: pnum = 1
2. Does not get past the preprocessor phase (it is a two pass compiler). The user can't get the final .cdx (compiled file) from the source (.cdp) file, he only gets the intermediate preprocessed (.cdl) file.
The following code structures are usable in preprocessed (.cdl) files:
CONTINUE
DO WHILE
EXITLOOP
FOR
IF ELSE
SWITCH
WHILE
But not LOCAL variables...
Previous versions based on CCOMP.EXE (+ CCOMP.TXT) always performed as required.
Any ideas?
1. Is lacking the prompt support text file.
The command:
CADLCOMP ??
Outputs: Prompt not found: pnum = 1
2. Does not get past the preprocessor phase (it is a two pass compiler). The user can't get the final .cdx (compiled file) from the source (.cdp) file, he only gets the intermediate preprocessed (.cdl) file.
The following code structures are usable in preprocessed (.cdl) files:
CONTINUE
DO WHILE
EXITLOOP
FOR
IF ELSE
SWITCH
WHILE
But not LOCAL variables...
Previous versions based on CCOMP.EXE (+ CCOMP.TXT) always performed as required.
Any ideas?





RE: CADKEY Workshop 21.5 CADL Compiler not working
Cadkey silently dropped CADL Local variables a decade ago. It is a just a documentation issue...
KeyCreator 4.0 still lists LOCAL as valid KXL command.
KeyCreator 8.5 doesn't include it the function list but page 72 of KeyCreator KXL Reference shows:
(...)
PreProcessor-Specific Control Statements
The following is a list of program control statements that can only be used in preprocessed programs (see the Introduction to KXLPreProcessor section for details):
Continue
Do While
ExitLoop
For
If with a statement block {...} following.
If--Else If--Else
Local
Switch
While
(...)