Re: proper way to check if a container is empty?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27111
interpreted = N
texte = The best way is to do this:[showif [URL][NIS][/URL]=%5BNIS%5D] [math show=f]NIS=0[/math] [/showif]in general, because if it's possible that a variable may have user input, they may be putting in characters that are comparison operators (like <,>,=,!) that could mess up statement. This would resolve those problems.At 10:37 AM 2/6/00, you wrote: >[showif [NIS]=[RAW][NIS][/RAW]][math]NIS=0[/math][/showif] >Unless you have already set the variable to >or if it is a field from database, the you would use >[showif [NIS]=][math]NIS=0[/math][/showif] > > > > > >sorry to ask this again... but: > >is this the proper way to check to see if a container is empty?- > > > >[showif [URL][NIS][/URL]=[RAW][NIS][/RAW]][math]NIS=0[/math][/showif] > > > >-John > > > > > >------------------------------------------------------------- > >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging > Server. > >To end your Mail problems go to . > > > >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 > > > > >Paul Fowler >Director > >|-----------------------------------| >| Get Real Gear, Inc. >| POB 11199 >| Aspen, CO 81612 >| fax/voice (970)544-0527 >| paul@gearworld.com >| http://www.gearworld.com >|-----------------------------------| > >------------------------------------------------------------- >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. >To end your Mail problems go to . > >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 > =============================================== Howard Wolosky Webcatalog Consultant+The Pubb - The best solution for your messageboard needs. Written in 100% Webcat. (www.thepubb.com) ===============================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: proper way to check if a container is empty? (Kenneth Grome 2000)
  2. Re: proper way to check if a container is empty? (Webcat 2000)
  3. Re: proper way to check if a container is empty? (WebDNA Support 2000)
  4. Re: proper way to check if a container is empty? (John Butler 2000)
  5. Re: proper way to check if a container is empty? (Howard Wolosky 2000)
  6. Re: proper way to check if a container is empty? (Paul Fowler 2000)
  7. proper way to check if a container is empty? (John Butler 2000)
The best way is to do this:[showif [url][NIS][/URL]=%5BNIS%5D] [math show=f]NIS=0[/math] [/showif]in general, because if it's possible that a variable may have user input, they may be putting in characters that are comparison operators (like <,>,=,!) that could mess up statement. This would resolve those problems.At 10:37 AM 2/6/00, you wrote: >[showif [NIS]=[raw][NIS][/RAW]][math]NIS=0[/math][/showif] >Unless you have already set the variable to >or if it is a field from database, the you would use >[showif [NIS]=][math]NIS=0[/math][/showif] > > > > > >sorry to ask this again... but: > >is this the proper way to check to see if a container is empty?- > > > >[showif [url][NIS][/URL]=[raw][NIS][/RAW]][math]NIS=0[/math][/showif] > > > >-John > > > > > >------------------------------------------------------------- > >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging > Server. > >To end your Mail problems go to . > > > >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 > > > > >Paul Fowler >Director > >|-----------------------------------| >| Get Real Gear, Inc. >| POB 11199 >| Aspen, CO 81612 >| fax/voice (970)544-0527 >| paul@gearworld.com >| http://www.gearworld.com >|-----------------------------------| > >------------------------------------------------------------- >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. >To end your Mail problems go to . > >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 > =============================================== Howard Wolosky Webcatalog Consultant+The Pubb - The best solution for your messageboard needs. Written in 100% Webcat. (www.thepubb.com) ===============================================------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Howard Wolosky

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:

Search multiple fields (1997) Problem with WebDNA Store Order (2004) OFF TOPIC: help wanted (1997) Upload and WebCat (1998) Error with [applescript] (1999) restarting webcatalog (2002) Re1000001: Setting up shop (1997) WebCat2b13 Command Reference Doc error (1997) [WebDNA] WebDNA Email Auth Functioning? (2014) Negative number search (2000) strange math (2004) [/application] error? (1997) Modify instead of Add (2000) WebMerchant problem (1998) NetSplat and WebCat2 (1997) Re:2nd WebCatalog2 Feature Request (1996) Re:E-Mailer (WebCatb15acgiMac) (1997) [WebDNA] WebDNA Roll Call (2014) Need relative path explanation (1997) SiteEdit NewFile.html ? (1997)