TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Adesu on September 25, 2007, 01:56:26 AM

Title: Why error
Post by: Adesu on September 25, 2007, 01:56:26 AM
Hi Alls,
I have a code , that code just convert to fas file, then load it to visual lisp editor, and hit "load active edit window" button, but the result is
"_$
; error: bad character read (octal): 24
_$ "

I don't understand why display like that, any one have experience , please share with me.

and if I put with "Tool > load application..> contents..> add > close >close > close.
it's ok and no problem.
Title: Re: Why error
Post by: Kerry on September 25, 2007, 03:49:01 AM
Are you loading the .FAS into the VLIDE editor ??

Is there lisp code in the editor
.. or does it look like this ?
Quote
FAS4-FILE ; Do not change it!
3418
184 $................ ¯

if so, that is causing the error !
Do not load FAS from the editor.

You can load .fas from the Editor by using Shift-Ctrl-L to open the file dialog, change the 'File of Type' to 'Compiled AutoLisp Files' and select the file you want to load into memory.

added:
When I try to load a FAS from the editor with "load active edit window" I get this message
Quote
nil
3418
184
nil
; error: bad character read (octal): 24
_1$






Title: Re: Why error
Post by: ASMI on September 25, 2007, 05:01:32 AM
AutoLISP does not support octal numbers as data type. The same type of error sometimes happens while *.csv files reading.
Title: Re: Why error
Post by: Adesu on September 25, 2007, 07:34:10 PM
Hi ASMI & Kerry,
Thanks for your info.

AutoLISP does not support octal numbers as data type. The same type of error sometimes happens while *.csv files reading.