[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: [mv] [if] problem
****** message to minivend-users from "Christopher Thompson" <ct@arborinternet.com> ******
That is true. [if]'s do not nest very deep. You might try different kinds
of [if]'s or redo your logic and use [elsif] (and [or]/[and]).
Christopher Thompson
> -----Original Message-----
> From: owner-minivend-users@minivend.com
> [mailto:owner-minivend-users@minivend.com]On Behalf Of zb
> Sent: Wednesday, January 05, 2000 1:53 AM
> To: minivend-users@minivend.com
> Subject: Re: [mv] [if] problem
>
>
> ****** message to minivend-users from zb <zb@bisp.com> ******
>
>
>
> "Christian J. Müller" wrote:
> >
> > ****** message to minivend-users from "Christian J.
> =?iso-8859-1?Q?M=FCller?=" <cmueller@polinet.ch> ******
> >
> > Have you tried
> > [if ...]
> > [then]
> > [/then]
> > [else]
> > [/else][/if]
> > sometimes this helps.
> Yes, I have tried. When I add [then][/then] to outer [if], it will be
> ok.
> When I add [then][/then] to both outer and inner [if], it will fail.
>
>
> > Chris
> >
> > zb wrote:
> > >
> > > ****** message to minivend-users from zb <zb@bisp.com> ******
> > >
> > > Hi all:
> > >
> > > nesting of [if] seems haveing trouble.
> > > ==========a.html==================================
> > > <html>
> > > [set a]1[/set]
> > > [set b]2[/set]
> > > [scratch a]<BR>
> > > [scratch b]
> > >
> > > [if type="scratch" term="b" op="==" compare="1"]
> > > b==1
> > > [if type="scratch" term="a" op="==" compare="1"]
> > > a==1
> > > [else]
> > > a<>1
> > > [/else]
> > > [/if]
> > > [else]
> > > b<>1
> > > [/else]
> > > [/if]
> > > </html>
> > > =======================================================
> > >
> > > zb
> > > -
> > > 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
> -
> 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
-
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
-
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