Vous n'êtes pas identifié(e). Pour pouvoir écrire ou répondre à un message, vous devez vous connecter ou vous créer un compte sur JAWA.
Pages : 1
I managed to define a condition like:
ANSWER$*${{LEVEL}}={{KEY}}
So I can describe different levels in a single array.
Now I also want to write in a rowe that fits a level.
When I try something like:
VALUE = {{ANSWER$1${{LEVEL}}}} I get an error.
is there a workaround to achieve this nesting of variables?
I need it to place the cards in order depending on the level.
Thanks in advance for your interest in my question ;)
Martijn
Hors ligne
Hello
The correct syntax should be just :
VALUE = {{ANSWER$1$LEVEL}}
This is the theoriacl syntax, that should work both in conditions and in effects.
Tell me if it's not the case !
=> when specifying an array coordinate, a text string will always be considered as a variable name
More globally, in JAWAscript syntax, you'll never be allowed to put a {{xxx}} statement inside another {{...}} statement (no imbrication)
Great! That's it.
It works perfect.
Now I can define the different level structures in trows of one array. :-)
Hors ligne
Pages : 1