Follow-up Comment #8, patch #1045 (project wesnoth):
Except that unset (cleared) variable *does not* reset to an empty string (0)
or does not allways behave like this. I don't know why, but if you wan't an
example there is one in 1st sceanrio of the tutorial. Quoting :
#FIXME: You'd think that using CLEAR_VARIABLE here would make it fail the
#equals="set" test. You'd be wrong...
#define NODEST
{VARIABLE dest unset}
#enddef
If you don't want a test of wether $foo is set or not at least makes sure
claering it does something.
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1045>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs