error setq symbol with beginn with number

Q&A's, tips, howto's
Post Reply
HPW
Posts: 1389
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

error setq symbol with beginn with number

Post by HPW »

Hello Lutz,

I ran across this error:

Code: Select all

> (setq 01Text "Some Text")

ERR: missing argument in function setf
So is this not allowed to use a symbolname starting with a number?

Using: 10.7.4 32Bit Exe

Also showing in DLL-Flavour.

Regards

Hans-Peter
Hans-Peter

cameyo
Posts: 176
Joined: Sun Mar 27, 2011 3:07 pm
Location: Italy
Contact:

Re: error setq symbol with beginn with number

Post by cameyo »

Variable symbols should not start with any of the following characters:
# ; " ' ( ) { } . , 0 1 2 3 4 5 6 7 8 9

see "Syntax of symbol variables and numbers" on newLISP manual

HPW
Posts: 1389
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Re: error setq symbol with beginn with number

Post by HPW »

Hello,

Thanks for the reminder. RTFM.
Long time using newlisp and forgetting something over time. ;-)

Regards

Hans-Peter
Hans-Peter

Post Reply