Author Topic: dot in variable name  (Read 148 times)

0 Members and 1 Guest are viewing this topic.

dgpuertas

  • Newt
  • Posts: 62
dot in variable name
« on: July 06, 2022, 10:50:35 AM »

I think that its a bug (I have spent many hours to find the error in the factors)

It seems that if the variable name contains a dot "."  it does not save it correctly

Did you know this?

Can you try on your computer?


_1_$ (setq f1.1 3030 f1.3 23)
23
_1_$ f1.1
23
_1_$ f1.3
23
_1_$




kirby

  • Newt
  • Posts: 110
Re: dot in variable name
« Reply #1 on: July 06, 2022, 11:08:04 AM »
Excerpt from Acad 2013 'AutoLISP Developer's Guide' (the last pdf version) pp. 10

Symbols and Variables
AutoLISP uses symbols to refer to data. Symbol names are not case sensitive
and may consist of any sequence of alphanumeric and notation characters,
except the following:
Characters restricted from symbol names
( (Open Parenthesis)
) (Close Parenthesis)
. (Period)
' (Apostrophe)
" (Quote Symbol)
; (Semicolon)
A symbol name cannot consist only of numeric characters.