Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

CADKEY Workshop 21.5 CADL Compiler not working

Status
Not open for further replies.

interflexo

Mechanical
Jan 4, 2012
2
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?
 
Replies continue below

Recommended for you

The old CCOMP CADL two pass compiler is now a KXLPreProcessor.

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
(…)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor