Akopia Akopia Services

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

Re: [mv] Flustered with [if]



******    message to minivend-users from Adam Kett <adam@opusvl.com>     ******

> Nick Pleis wrote:
> 
> Hey,
> 
> 
> The biggest single problem i've had with minivend has been getting the
> various IF's to work properly. (i've been at this about a year now)
> 
> The documentation makes very little sense to me..can someone explain
> to me the semnatics of the IF statement?
> 
> It seems to me if I have a scratch variable (call it "mv_var") set to
> "test" and do:
> 
> [if scratch mv_var eq "test"]
> that should work..
> or at leaset
> 
> 


[if term="[scratch mv_var]" op="eq" compare="test"]

could help


 should..but
> neither do..or sporadically at best. The biggest problems are in
> string comparisons. Numeric comparisons seem to always work flawlessly
> (IE setting the same variable to 1 and doing : [if scratch mv_var ==
> 1] will return the right result). I find myself resorting down to perl
> for this more and more....
> 
> Sorry, i'm just a bit frusturated after fighting this yet again for
> far to long tonite.
> 
> Nick

-- 
<really pointless tag that does nothing>
hmmmm
</really pointless tag that does nothing>
-
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: