Results 1 to 3 of 3

Thread: A question about SKILL

  1. #1
    Guest

    A question about SKILL

    Hello,
    I am a jackeroo on creating programs by using SKILL language.
    When I try to run a SKILL example called "axlform.il" which is in the
    Allegro 14.2 installation path, Allegro lists an error by using a
    string like the following:
    "E-*Error* axlFormDisplay: argument #1 should be an "other" atom (type
    template = "o")-nil".
    I can not understand what this error message means. Please experts help
    me. Thanks a lot!

    Tom

  2. #2
    David Cuthbert Guest
    Tom_Ding@hotmail.com wrote:
    I am a jackeroo on creating programs by using SKILL language.
    When I try to run a SKILL example called "axlform.il" which is in the
    Allegro 14.2 installation path, Allegro lists an error by using a
    string like the following:
    "E-*Error* axlFormDisplay: argument #1 should be an "other" atom (type
    template = "o")-nil".
    I can not understand what this error message means. Please experts help
    me. Thanks a lot!
    Hi Tom,

    This message means that axlFormDisplay is expecting something other than
    a standard SKILL type -- these types are listed on page 20 of the
    (PDFized) SKILL language reference. (Unfortunately, SKILL itself
    doesn't know about most GUI elements, so you get this rather ambiguous
    message.)

    I'm not familiar with Allegro (I'm over in CIC), but if you search on
    SourceLink for axlFormDisplay, it will direct you to the Allegro/APD
    Design Guide: SKILL Reference Manual, in the Form Interface Functions
    chapter (11). It gives the following example on how to use these functions:

    -----
    ; User-callable function to set up and
    ; display the Extract Selector form
    (defun myExtract ()
    fileList = (cdr (cdr (getDirFiles
    cadr( parseString( axlGetVariable("TEXTPATH"))))))
    form = axlFormCreate( (gensym)
    "extract_selector.form" `("E" "OUTER")
    `_formAction t)
    axlFormTitle( form "Extract Selector")
    axlFormSetField( form "view_file" (car fileList))
    selectedFile = (car fileList)
    foreach( fileName fileList
    axlFormSetField( form "file_list" fileName))
    axlFormDisplay( form)
    ); defun myExtract
    -----

    So axlFormDisplay() is expecting a form created by axlFormCreate().

    Hope this helps.

    --
    David Cuthbert (dacut@cadence.com) Tel: (412) 599-1820
    Cadence Design Systems R&D

  3. #3
    Guest
    I get it! Thank you very much!

Similar Threads

  1. What is SKILL?
    By 020170 in forum Cadence
    Replies: 0
    Last Post: 12-31-2005, 03:30 AM
  2. skill question
    By ccwang in forum Cadence
    Replies: 2
    Last Post: 09-02-2005, 01:10 AM
  3. skill small question BUG or Specification ?
    By rubicam88 in forum Cadence
    Replies: 7
    Last Post: 07-20-2005, 01:10 PM
  4. SKILL Q: Accessing saved results from SKILL
    By Svenn Are Bjerkem in forum Cadence
    Replies: 23
    Last Post: 05-17-2005, 09:10 AM
  5. SKILL?
    By Raf Karakiewicz in forum Cadence
    Replies: 2
    Last Post: 10-18-2004, 12:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other forums: Access Forum - Microsoft Office Forum - Exchange Server Forum