What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: [if] and [showif] - A solution

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45244
interpreted = N
texte = eh, your right, they do have that example in the docs.. (along with the no spaces example ;-)SMSI, which is correct ? both?Thanks, P.S., I restarted my mail server thus all the sudden posts (guess something was stuck). sorry.Donovan Mark Derrick wrote:> The online docs for the [if][then][else] tag, uses these examples: > [If [browsername] ^ Mozilla] and [If Hello ^ hell] > > It doesn't seem to make a difference, and I normally use the regular way > without spaces, but to troubleshoot the problem, I thought I'd better use > the syntax in the SM examples. > > on 13/11/02 10:32 pm, Donovan at dbrooke@ehg.net wrote: > > > because quotes are used in an if statement to signify a text comparison. > > > > Also, I noticed in your if statement that you have spaces before and > > after the ^. This > > may work for you but it is not the documented syntax (ie. no spaces) > > thus I wouldn't trust it. > > (I posted this with my other address but it doesn't seem to be working > > right now :-( My > > appologeeeeeez if this thread gets dup's from me. > > > > Donovan > > > > > > > > Mark Derrick wrote: > > > >> Bizarrely, the retrieved data didn't contain quotations, although it did > >> contain a couple of hashes right at the end, which I assume may have caused > >> the problem. > >> > >> What confuses me though, is why [if[ was bothered about it, yet [showif] > >> wasn't > >> > >> on 13/11/02 4:38 pm, John Peacock at jpeacock@rowman.com wrote: > >> > >> > >> > >>> Mark Derrick wrote: > >>> > >>> > >>> > >>>> Not sure why [if] requires the variable to be wrapped in [url], but this > >>>> seems to now work. > >>>> > >>>> > >>>> > >>> Because the content you were retrieving contained quotation marks. You must > >>> use > >>> [url] any time some portion of your imput might contain characters which > >>> will > >>> confuse the WebDNA parser. > >>> > >>> John > >>> > >>> > >> > > ------------------------------------------------------------- > 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 > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [if] and [showif] - A solution (Brian Fries 2002)
  2. Re: [if] and [showif] - A solution (Donovan Brooke 2002)
  3. Re: [if] and [showif] - A solution (Mark Derrick 2002)
  4. Re: [if] and [showif] - A solution (Mark Derrick 2002)
  5. Re: [if] and [showif] - A solution (Rob Marquardt 2002)
  6. Re: [if] and [showif] - A solution (Donovan 2002)
  7. Re: [if] and [showif] - A solution (Mark Derrick 2002)
  8. Re: [if] and [showif] - A solution (John Peacock 2002)
  9. Re: [if] and [showif] - A solution (Grant Hulbert 2002)
  10. Re: [if] and [showif] - A solution (Mark Derrick 2002)
eh, your right, they do have that example in the docs.. (along with the no spaces example ;-)SMSI, which is correct ? both?Thanks, P.S., I restarted my mail server thus all the sudden posts (guess something was stuck). sorry.Donovan Mark Derrick wrote:> The online docs for the [if][then][else] tag, uses these examples: > [If [browsername] ^ Mozilla] and [If Hello ^ hell] > > It doesn't seem to make a difference, and I normally use the regular way > without spaces, but to troubleshoot the problem, I thought I'd better use > the syntax in the SM examples. > > on 13/11/02 10:32 pm, Donovan at dbrooke@ehg.net wrote: > > > because quotes are used in an if statement to signify a text comparison. > > > > Also, I noticed in your if statement that you have spaces before and > > after the ^. This > > may work for you but it is not the documented syntax (ie. no spaces) > > thus I wouldn't trust it. > > (I posted this with my other address but it doesn't seem to be working > > right now :-( My > > appologeeeeeez if this thread gets dup's from me. > > > > Donovan > > > > > > > > Mark Derrick wrote: > > > >> Bizarrely, the retrieved data didn't contain quotations, although it did > >> contain a couple of hashes right at the end, which I assume may have caused > >> the problem. > >> > >> What confuses me though, is why [if[ was bothered about it, yet [showif] > >> wasn't > >> > >> on 13/11/02 4:38 pm, John Peacock at jpeacock@rowman.com wrote: > >> > >> > >> > >>> Mark Derrick wrote: > >>> > >>> > >>> > >>>> Not sure why [if] requires the variable to be wrapped in [url], but this > >>>> seems to now work. > >>>> > >>>> > >>>> > >>> Because the content you were retrieving contained quotation marks. You must > >>> use > >>> [url] any time some portion of your imput might contain characters which > >>> will > >>> confuse the WebDNA parser. > >>> > >>> John > >>> > >>> > >> > > ------------------------------------------------------------- > 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 > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Donovan Brooke

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:

Lots of bounce errors (2007) Just Testing (1997) Frames and WebCat (1997) RAM variables (1997) What abobut variables named max ??? (2000) What file? (1997) Bug Report, maybe (1997) StoreBuilder: cart is full (2003) Error -108 (1997) Pithy questions on webcommerce & siteedit (1997) WebCatalog2 for NT Beta Request (1997) Simple Database close connection (2001) MacWEEK article help needed (1996) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [WebDNA] WebPOP with godaddy account (2011) IE-caching (1998) Help! WebCat2 bug (Ben's input) (1997) WebDNA Verison 4.5 will Not Restart! This SUCKS! (2002) Applescript, WebDNA, and PDF (1997) Mac Sever Web Hosting (1999)