Re: [ShowIf] if the varieable exists
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20325
interpreted = N
texte = I think that just saying [Showif [wogroup1datarq]!] Car [/showif] would work.. basically, if wogroup1datarq doesnt exist, it will be 'blank', and we are saying ! (not) blank...(correct me if im wrong)>I understand that normally you would put the [ShowIf] context followed>by the equation.>ex: [ShowIf [wogroup1datarq]=Mustang]Car[/ShowIf]>However, there will not always be an existing variable called>[wogroup1datarq]. Instead, I would like to [ShowIf] if the variable>[wogroup1datarq] exists. How can I do this?>>Mike
Associated Messages, from the most recent to the oldest:
I think that just saying [Showif [wogroup1datarq]!] Car [/showif] would work.. basically, if wogroup1datarq doesnt exist, it will be 'blank', and we are saying ! (not) blank...(correct me if im wrong)>I understand that normally you would put the
[showif] context followed>by the equation.>ex: [ShowIf [wogroup1datarq]=Mustang]Car[/ShowIf]>However, there will not always be an existing variable called>[wogroup1datarq]. Instead, I would like to
[showif] if the variable>[wogroup1datarq] exists. How can I do this?>>Mike
Scott Szretter
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:
[BULK] [WebDNA] [BULK] Mac OS X LION has no FastCGI (2011)
Date Math broken on Mac OS X 10.4? (2007)
Sendmail (1997)
WebDNA for business intelligence? (2002)
Error Lob.db records error message not name (1997)
Referrer field to header field conversion (1997)
Error: unknown exception (2000)
Shell Script needed (2003)
URL encoding -- still a problem (1998)
WebCatalog for Postcards ? (1997)
emailer error -108 (1997)
blank page from template (1997)
HELP! 10K hits per hour for pages that no longer exist! (2000)
math problems (2000)
WC 2.0 frames feature (1997)
pretty Urgent: Crash after addlineitem (2001)
Template Cache problem, bombing WebSTAR problem (2000)
problems with 2 tags shakur (1997)
quantity minimum problem (1997)
WebCat2_Mac RETURNs in .db (1997)