Follow-up Comment #3, bug #11011 (project wesnoth):
Well, WML is not SQL, SQL syntax makes no sense in this case.
Your syntax doesn't even work, because there aren't arrays of scalars, there
are only arrays of containers.
$foobar[] = {'aaa','something','etc'}
would have to be
$foobar[] = {['value':'aaa'],['value':'something'],['value':'etc']}
Thus you'd need to specify the key 'value'
[variable]
name=foo
find_in=foobar
key=value
[/variable]
And now the only difference to my suggestion is, that with my syntax you'd
write
[variable]
find_in=foobar
key=value
equals=$foo
[/variable]
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?11011>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs