inc non-destruktive

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

inc non-destruktive

Post by HPW »

Hello,

I noticed that quoting the symbol makes inc non-destruktive
> (setq Test 1)
1
> (inc 'Test)
2
> Test
1
> (inc Test)
2
> Test
2
Not documented.

Regards
Hans-Peter

Locked