error setq symbol with beginn with number

Started by HPW, March 31, 2021, 01:13:09 AM

Previous topic - Next topic

HPW

Hello Lutz,



I ran across this error:



> (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

#1
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

#2
Hello,



Thanks for the reminder. RTFM.

Long time using newlisp and forgetting something over time. ;-)



Regards



Hans-Peter
Hans-Peter