Re: Undeclared variables
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 57491
interpreted = N
texte = Thanks everyone for your lively discussion and range of ideas. I originally was going to make the message as a feature request, as a few were thinking, but something like a tag request:[showif [var]=[undeclared]]declare it now[/showif]but I didn't think that was the way WebCat works.Rob said:>I'll compare the url'd value to its text equivalent. Still inelegant, but>saves some typing.>>[showif [url][variable][/url]=%5Bvariable%5D]I like this one! The % and 5 are on the same key, with ~, B and D not far away.Following the above suggestion I'm also thinking along these lines:[Showif [var]~%5B]declare it now[/showif]Do you need to URL [var] it in order to 'see' the %5B?I also like Ken's suggestions for certain situations.Mostly I need this for sections of pages that serve multiple functions, for the first time displayed, before it is clicked into, if you know what I mean.Terry-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Thanks everyone for your lively discussion and range of ideas. I originally was going to make the message as a feature request, as a few were thinking, but something like a tag request:[showif [var]=[undeclared]]declare it now[/showif]but I didn't think that was the way WebCat works.Rob said:>I'll compare the url'd value to its text equivalent. Still inelegant, but>saves some typing.>>[showif [url][variable][/url]=%5Bvariable%5D]I like this one! The % and 5 are on the same key, with ~, B and D not far away.Following the above suggestion I'm also thinking along these lines:[Showif [var]~%5B]declare it now[/showif]Do you need to URL [var] it in order to 'see' the %5B?I also like Ken's suggestions for certain situations.Mostly I need this for sections of pages that serve multiple functions, for the first time displayed, before it is clicked into, if you know what I mean.Terry-------------------------------------------------------------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://webdna.smithmicro.com/
Terry Wilson
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:
Shopping with Accounts (2003)
2nd WebCatalog2 Feature Request (1996)
Fun with dates (1997)
Somewhat OT: IE issues (2002)
LOOP and IF statements (1997)
Setting up shop (1997)
[WebDNA] COMMITDATABASE in linux unix 64bits FastCGI version 8.6 (2020)
problems with 2 tags (1997)
Appending current [date] to a database (1997)
SKU's (2000)
RE: Help name our technology! (1997)
slightly OT: advertising schemes (2004)
Problems appending to database (1997)
[WebDNA] WebDNA on Linux (2009)
Include Troubles (1998)
RE: Automatic thumbnail images (1998)
WebCatalog2 Feature Feedback (1996)
Only charge card when product shipped ? (1997)
[WebDNA] Error: Can't open order file. Ignoring [OrderFile] context Error: Error: expected [/APPLICATION], but found [/!] instead[/!] (2011)
Document Contains No Data! (1997)