Message 1 of 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
HI
I have a simple LSP for saving System Variables to registry and apply them.
There is a code part to test if the varible exists:
(if (and (/= spivar1 "")(not (getvar spivar1)))(alert (strcat "Systemvariable < " spivar1 " > existiert nicht!")))
but i want also test if the given value is good or not.
I tried something like:
(if (and (/= spiwer1 "")(not (setvar spivar1 (atoi spiwer1))))(alert (strcat "Systemvariablenwert < " spiwer1 " > nicht möglich!")))
but this don't work.
Any idea?
Solved! Go to Solution.