[PCB_FORUM] Re: allegro.ilinit

I copied this and renamed it to c:\pcbenv
;
; This example file shows how to load Skill files (those with the
;   extension ".il" in the current directory.
; To use copy to allegro.ilinit if to be used by all Allegro based programs
; or <programName>.ilinit if intended for only one program
;
; Setting Allegro environment variable, LoadSkillFilesDebug will turn
; on printing the name of each file as it is loaded.


unless(boundp('LoadSkillFilesDebug) 
    LoadSkillFilesDebug = axlGetVariable("LoadSkillFilesDebug"))


when(LoadSkillFilesDebug printf("\n"))
(foreach file (rexMatchList "\\.il$" (getDirFiles "."))
      when(LoadSkillFilesDebug printf("Loading Skill file: %s\n" file))
      (load strcat("./" file))
)

; Load any ini files (containing axlCmdRegister)
(foreach file (rexMatchList "\\.ini$" (getDirFiles "."))
      when(LoadSkillFilesDebug printf("Loading Skill file: %s\n" file))
      (load strcat("./" file))
)
when(LoadSkillFilesDebug printf("\n"))

load("C:/pcbenv/skill/Auto_Balancing.il")


"Morrison, Joe" <joe.morrison@xxxxxxxx> wrote:

>Sam-
>Without seeing your allegro.ilinit file, some of this is just guesses....
>
>- syntax of the file must be in legal skill statements
>- you need to either include the directory "c:\pcbenv\skill" as part of your 
>skill path definition OR explicitly specify the path with the file name for 
>the load command
>
>
>Thanks,
>Joe
>
>Joe Morrison
>Manager, Engineering Automation
>
>Lockheed Martin Systems Integration
>1801 State Route 17C
>MD 0302
>Owego, NY 13827-3998
>
>office: 607-751-7921
>fax: 607-751-2397
>joe.morrison@xxxxxxxx
>
> -----Original Message-----
>From:   icu-pcb-forum-bounce@xxxxxxxxxxxxx 
>[mailto:icu-pcb-forum-bounce@xxxxxxxxxxxxx]  On Behalf Of sjcharles@xxxxxxx
>Sent:   Wednesday, April 27, 2005 4:46 PM
>To: icu-pcb-forum@xxxxxxxxxxxxx
>Subject:    [PCB_FORUM] allegro.ilinit
>
>group:
>I created the file allegro.ilinit using text editor, and put it in c:\pcbenv. 
>The skill files are c:\pcbenv\skill. 
>I get this error message on entering editor E- SYNTAX ERROR found at line 7 
>column 40 of file allegro.ilinit
>E- *Error* lineread/read: syntax error encountered in input
>E- *Error* load: can't access file - "tselall.il"
>thanks for any help
>Sam
>
>
>-----------------------------------------------------------
>To subscribe/unsubscribe: 
>    Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx
>    with a subject of subscribe or unsubscribe
>
>To view the archives of this list please login at
>http://www.freelists.org. Our list name is icu-pcb-forum
>or go to http://www.freelists.org/archives/icu-pcb-forum/
>
>Problems or Questions:
>    Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx
>
>Want to post a job listing ?  DON'T DO IT HERE!  
>Better yet, join our jobs listing forum.
>
>SUBSCRIBE:  icu-jobs-forum-subscribe@xxxxxxxxxx
>POST:       icu-jobs-forum@xxxxxxxxxx
>-----------------------------------------------------------
>
>
>-----------------------------------------------------------
>To subscribe/unsubscribe: 
>    Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx
>    with a subject of subscribe or unsubscribe
>
>To view the archives of this list please login at
>http://www.freelists.org. Our list name is icu-pcb-forum
>or go to http://www.freelists.org/archives/icu-pcb-forum/
>
>Problems or Questions:
>    Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx
>
>Want to post a job listing ?  DON'T DO IT HERE!  
>Better yet, join our jobs listing forum.
>
>SUBSCRIBE:  icu-jobs-forum-subscribe@xxxxxxxxxx
>POST:       icu-jobs-forum@xxxxxxxxxx
>-----------------------------------------------------------
>

__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
-----------------------------------------------------------
To subscribe/unsubscribe: 
        Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx
        with a subject of subscribe or unsubscribe

To view the archives of this list please login at
http://www.freelists.org. Our list name is icu-pcb-forum
or go to http://www.freelists.org/archives/icu-pcb-forum/

Problems or Questions:
        Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx

Want to post a job listing ?  DON'T DO IT HERE!  
Better yet, join our jobs listing forum.

SUBSCRIBE:  icu-jobs-forum-subscribe@xxxxxxxxxx
POST:       icu-jobs-forum@xxxxxxxxxx
-----------------------------------------------------------

Other related posts: