Jump to content

Recommended Posts

Posted

error: EOF after quote on input

 

heres my pc specs:

 

OS: win 7

cad: autocad 2002

 

:(

Posted

Can you please post the code excerpt?

Posted

icon1.png Re: Error:EOF after quote on input

 

Because READ respects certain characters reserved for lisp evaluations. A quote "'" is read as the function QUOTE:

(read "a") returns the symbol A, but

(read "'a") returns (QUOTE A)

It's the same thing that makes READ capable of returning lisp expressions, as in

(read "(cons 2 4)")

where the left parenthesis signals a lisp expression. Whenever READ bumps into a reserved character it expects an expression to follow. You'll have to check the returned character before using READ.

 

don't know if this will help or not - found it on another forum and thought i would pass it on

Posted

i can't spicified which part of the lisp is error

here's the pic

 

Untitled1.png

Posted (edited)

Taking into account what Welldriller posted, you may want to search into your code for line(s) of code containing the string below and post it/them here for someone to have a look at:

(read

 

PS. Please make sure that Match Case option is uncheked.

Edited by MSasu
addition on Match Case option
Posted

As indicated by welldriller's post, the following will cause the error:

_$ (read "'")
; error: EOF after quote on input

Since there are no expressions following the quote symbol.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...