Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] dynamic variable names and ifs enigma



******    message to minivend-users from Chris Rapier <rapier@psc.edu>     ******



Hans-Joachim Leidinger wrote:

Or, which I think is his end result

> Try
> 
> [seti testdynamic][value name="dynamic_var-[value dynamic_flag]"
> set="some text"][/seti]
> [if scratch testdynamic]

message is: [value name="dynamic-var-[value dynamic_flag]"]
        
> [/if]

Which would allow him to print different messages depending on the
result of various other tests. WThis way he can use one if statement to
print any number of different things. He can even slap it all inside of
a loop and have it build some relatively complex stuff.

Neat.
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: