¿ªÔÆÌåÓý

Re: A question regarding parameters


 

If I understand what you're doing correctly, that is one way. There are a
couple others as well:

1) If the choices are sequential numbers, you could put the variable
options into a group and then call the group with a forced value, making it
more of a lookup group rather than a "regular" one. Using your example
(which would work for something like the APL variable), you could do this:

_|variable1=[refgroup=%option1%]|
...
:refgroup
1,10
2,20
3,30
...

2) There's also the "Select" function (
), which could work something like
this:

_|treasurelvl={Select~%option1%,Half,0.5,Standard,1.0,Double,2.0,3.0}|

On Mon, Jun 10, 2013 at 8:11 AM, chriskentlea <chris.kentlea@...>wrote:

**


Am i right in thinking if i have say 4 paramters at the start of the
table, and each has 20 options or so, would use them like this:

@option1,1,Treasure level,Half,Standard,Double,Triple
@option2,1,APL,1,2,3,4,5,6,7,8,9,10
@option3,1,Something else,blah, splerg,nomnomnom

_{If~%option1%=1|variable1=10|}
_{If~%option1%=2|variable1=20|}
_{If~%option1%=3|variable1=30|}

etc for each option, so i would have in the end 3 variables to work with

or is there a simpler way of doing it?


Join [email protected] to automatically receive all group messages.