WML: interpreting arrays in [variable] conditions

Discussion of all aspects of the game engine, including development of new and existing features.

Moderator: Forum Moderators

Post Reply
Rhuvaen
Inactive Developer
Posts: 1272
Joined: August 27th, 2004, 8:05 am
Location: Berlin, Germany

WML: interpreting arrays in [variable] conditions

Post by Rhuvaen »

Working with arrays a lot I have always been wondering why arrays aren't interpreted in [variable] conditions (within [if]). It's a bit of a hassle to copy the array element into another variable, and then check it. It's almost made me stop using arrays, until I understood what the problem was.

Would it be hard to code support for arrays in conditions? What do you think?
Boucman
Inactive Developer
Posts: 2119
Joined: March 31st, 2004, 1:04 pm

Post by Boucman »

probably not, but this is not my area of expertise... this might be worth looking into, though...

any non-dev coders want to have a look at it ?
Fight key loggers: write some perl using vim
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Post by zookeeper »

How about we just finally make the dollar signs be fully interpreted in every single key? Would solve about a hundred other annoyances too.
qk
Inactive Developer
Posts: 57
Joined: September 4th, 2006, 5:47 pm
Location: Prague, CZ
Contact:

Post by qk »

zookeeper wrote:How about we just finally make the dollar signs be fully interpreted in every single key? Would solve about a hundred other annoyances too.
I have it in plan, but at first I want decrease number of bugs before release 1.2.
Post Reply