Can't open @AllSamples.lsp

Started by zz, September 06, 2018, 01:25:04 AM

Previous topic - Next topic

zz

When I run @AllSamples.lsp, it just returns a nil, showing no forms.

owenwengerd

Have you installed OpenDCL? What happens if you enter OPENDCLDEMO at the command line?

khann

#2
Hi.
Owen, I had asked you this a long time ago.
at that time I could not find out the cause.

But after many times testing load the @AllSample.lsp file
I found that there's something wrong in the local language system.

At the posted image, there is unreadable characters in the comment line.
This is just a comment line,
but it seems that the local language (non english) Acad system cannot interpret the comment line.

Only after deleting all the collapsed character's comments
I could load the @Allsample.lsp file.

May this be helpful.  8)


zz

I have installed opendcl 9.0.1.5 and loaded opendcl runtime. It won't return any information when I type "opendcldemo" in the command line.

Command: (LOAD "D:/Program Files (x86)/OpenDCL Studio/ENU/Samples/@AllSamples.lsp") nil
Command: OPENDCLDEMO
Command:

zz

It works when I delete all the unreadable characters in the comment line, thank you 8)

khann

I found out this visual format option makes the collapsed comment line .


owenwengerd

Interesting. Can you confirm that even the VLIDE-added formatting info comment causes a subsequent load failure? Or is it only the OpenDCL code comments that cause the load failure?

khann

Hi, Owen.

mmm...
in my experience,

The VLIDE "Save format" option makes a special and automatic comments line
and if the user Acad system is non english based (just in my thought),
it makes something wrong characters.

In my Acad system, when saving .lsp file with this option,
it makes automatically something wrong charactors similar with the image but not the same.
After I found this, I never used the "Save format" option, maybe since 2005 ~~.

But I have not tested other languages Acad system.
That's all what I know till now.

Thanks.

owenwengerd

Thanks for the feedback. For the next build of OpenDCL I have removed the problematic comments from the samples files.

khann

What a kindness  :).
Thank you, Owen