Results 1 to 2 of 2

Thread: CADKEY Workshop 21.5 CADL Compiler not working

  1. #1
    Registered
    Join Date
    Sep 2005
    Location
    Portugal
    Posts
    36
    Downloads
    0
    Uploads
    0

    CADKEY Workshop 21.5 CADL Compiler not working

    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?
    Last edited by interflexo; 01-04-2012 at 06:05 PM.


  2. #2
    Registered
    Join Date
    Sep 2005
    Location
    Portugal
    Posts
    36
    Downloads
    0
    Uploads
    0
    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
    (…)


Similar Threads

  1. Esprit 2009 post compiler problem
    By bvaught in forum Esprit
    Replies: 4
    Last Post: 09-18-2012, 05:50 AM
  2. Need Help!- KeyCreator 4.5 and cadL export?
    By abcj in forum Cadkey / KeyCreator
    Replies: 4
    Last Post: 08-21-2011, 04:38 PM
  3. Writing my own CNC firmware, looking for g-code compiler
    By MMarz in forum General CAD Discussion
    Replies: 10
    Last Post: 03-16-2011, 01:47 AM
  4. PicForge NEW FREE Pic Basic Compiler
    By Pic2000 in forum PIC Programing / Design
    Replies: 1
    Last Post: 07-12-2008, 01:31 PM

Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.