[if][/if] weirdness

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31476
interpreted = N
texte = Hi,Just started messing with some of the new features that I have been waiting for in the new beta, and am getting a weird error when nesting an [If][/If] inside a [showif][/showif]Heres the code snippet that is causing me trouble:
[showif [action]=go] [if (([unit]<4)&([unit]!9))] [then][math show=f]newunit=[unit]+10[/math][/then] [else][math show=f]newunit=[unit]-10[/else] [/if] [/showif] Unit = [unit]

New Unit = [newunit]

here is my friend 'the error'[if ((4<4)&(4!9))] [then]An unknown error occurred: UnexpectedClosure SHOWIF then [/then] [else] So this is obviosly being parsed and even getting partially evaluated... just a beta thing or am I using the syntax incorrectly?Thanks Charles############################################################# This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to Associated Messages, from the most recent to the oldest:

    
  1. Re: [if][/if] weirdness (Charles Kline 2000)
  2. Re: [if][/if] weirdness (GHulbert@smithmicro.com 2000)
  3. [if][/if] weirdness (Charles Kline 2000)
Hi,Just started messing with some of the new features that I have been waiting for in the new beta, and am getting a weird error when nesting an [if][/If] inside a [showif][/showif]Heres the code snippet that is causing me trouble:
[showif [action]=go] [if (([unit]<4)&([unit]!9))] [then][math show=f]newunit=[unit]+10[/math][/then] [else][math show=f]newunit=[unit]-10[/else] [/if] [/showif] Unit = [unit]

New Unit = [newunit]

here is my friend 'the error'[if ((4<4)&(4!9))] [then]An unknown error occurred: UnexpectedClosure SHOWIF then [/then] [else] So this is obviosly being parsed and even getting partially evaluated... just a beta thing or am I using the syntax incorrectly?Thanks Charles############################################################# This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to To switch to the INDEX mode, E-mail to Send administrative queries to Charles Kline

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[Reload mydata.db] (1998) Summing fields (1997) Range in [showif] (2000) Summing fields (1997) Full text search (1999) WCS Newbie question (1997) WebCat2 Append problem (B14Macacgi) (1997) E-Mailer (WebCatb15acgiMac) (1997) [ot] html question (2000) Encrypting Credit Card Numbers (2004) Banner Ad example (Typhoon) and WebCatalog (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997) Separate SSL Server (1997) Sku numbers (1997) NetCloak as Emailer substitute? (1999) (1997) Page Expiring again... (2006) Out of the woodwork (2007) Online reference (1997) Setting up shop (1997)