MiniVend Akopia Services

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

Re: [mv] Percentage Calculated Shipping



On 22 Sep, Nick Pleis wrote:
> ******    message to minivend-users from "Nick Pleis" <npleis@cei.net>     ******
> 
> I don't understand what is happening here, but in order to keep track of a
> user option I set a scratch variable called IsCredit to True or False
> depending on what is going on.
> 
> The problem is that I can't seem to make any form of the [if] statement
> work.
> 
> When I just print the variable using [scratch IsCredit] I get :
> 
> True
> 
> Which is fine, however if I try to do something conditionally
> 
> [if scratch IsCredit eq 'True']
> 
> it doesn't properly evaluate..i've tried [if [scratch IsCredit] eq 'True']
> and a million variations of it...just doesn't work.
> 
> Anyone have a clue as to WHY?
> 
> At my wits end,
> Nick

Try

[if scratch IsCredit eq True]

or

[if scratch IsCredit =~ /True/]

Regards,

Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1971449
45886 Gelsenkirchen



Search for: Match: Format: Sort by: