Re: Multiple Hideif peramiters

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 38902
interpreted = N
texte = Samuel Renkert wrote: > > >is this valid context? > > > >[hideif [variable]=1,2,5.7][/hideif] > > > >meaning it will hide the enclosed if the variable matches any of the > >above numbers.. > > No. > > but > [hideif 125.7^[variable]][/hideif] > is. > > (You need the 's to prevent substrings from matching.) > Though don't infuse the quotes with any special meaning; the same line will work with any single character that WebCat does not extend special meaning to, i.e. [hideif +1+2+5.7+^[variable]][/hideif]works just as well. Only when using [if] do text comparisons need to be quoted (which is how WebCat knows they are text...). And just for compulsive sake, wrap both sides of the ^ comparison in [url][/url]'s.HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- 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: Multiple Hideif peramiters (Donovan Brooke 2001)
  2. Re: Multiple Hideif peramiters (Clint Davis 2001)
  3. Re: Multiple Hideif peramiters (Donovan Brooke 2001)
  4. Re: Multiple Hideif peramiters (Samuel Renkert 2001)
  5. Re: Multiple Hideif peramiters (Brian Fries 2001)
  6. Re: Multiple Hideif peramiters (John Peacock 2001)
  7. Re: Multiple Hideif peramiters (Samuel Renkert 2001)
  8. Re: Multiple Hideif peramiters (Glenn Busbin 2001)
  9. Multiple Hideif peramiters (Donovan Brooke 2001)
Samuel Renkert wrote: > > >is this valid context? > > > >[hideif [variable]=1,2,5.7][/hideif] > > > >meaning it will hide the enclosed if the variable matches any of the > >above numbers.. > > No. > > but > [hideif 125.7^[variable]][/hideif] > is. > > (You need the 's to prevent substrings from matching.) > Though don't infuse the quotes with any special meaning; the same line will work with any single character that WebCat does not extend special meaning to, i.e. [hideif +1+2+5.7+^[variable]][/hideif]works just as well. Only when using [if] do text comparisons need to be quoted (which is how WebCat knows they are text...). And just for compulsive sake, wrap both sides of the ^ comparison in [url][/url]'s.HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747------------------------------------------------------------- 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/ John Peacock

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:

[WebDNA] New Site (2010) carriage returns in data (1997) how do I delete 1 of 2 identical records? (2003) WebCommerce: Folder organization ? (1997) Version Question (2000) OT - royalty free images (2002) Some Questions (1997) wierd [cart] action! (1997) [WriteFile] problems (1997) Internet Advancement (2003) Refering page (1998) Protecting Realms (1998) WebCat2_Mac RETURNs in .db (1997) [ot] html question (2000) [search] & [encrypt]/[decrypt] (2001) TCP Connect/send and CGI (2003) SOP for WebDNA talk - MSNBot Crashing (2004) UNC path support in WebDNA 5.0 (2003) Running 2 two WebCatalog.acgi's (1996) emailer (1997)