Akopia Akopia Services

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

[mv] Question about [IF...][/IF]



Hi everyone, I am using MiniVend 4.0 and I am having troubles performing a simple IF command.
 
Is it possible to compare two scratch variables in an IF? The documentation is unclear wether you can or not. here is an example:
 
[seti subcat]one[/seti]
[seti lastcat]one[/seti]
[if scratch subcat ne scratch lastcat]
  <p>No Match
[/if]
 
[seti subcat]one[/seti]
[seti lastcat]two[/seti]
[if scratch subcat ne scratch lastcat]
  <p>No Match
[/if]
 
 
When I run the above code it prints No Match twice when it should only print it once. Do I have the syntax wrong? Any help would be greatly appreciated, thanks!!!!!!
 
Fred.

Search for: Match: Format: Sort by: