Akopia Akopia Services

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

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



******    message to minivend-users from Steve & Patti Getzinger <steveandpatti@wubs.org>     ******

Try [if explicit][condition]your code[/condition][/if] I have run into
problems in the past trying "simple" if's but when I moved to the
explicit syntax it would run. Not saying your tagging is correct just
that explicit has made finding the answer much easier for me.

Steve

Fred Harju wrote:

> 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.

--
=========================================================
  WDI                          Steve & Patti Getzinger
  702 Lincolnway West          steveandpatti@wubs.org
  South Bend, IN  46616        http://www.wubs.org/
  219-287-4700 (Main Office)   317-535-0239 (Direct Line)
=========================================================


-
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: