inc non-destruktive

Q&A's, tips, howto's
Post Reply
HPW
Posts: 1377
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

Post Reply