Re: [WebDNA] feature suggestion
This WebDNA talk-list message is from 2011
It keeps the original formatting.
numero = 106804
interpreted = N
texte = I think that works as an alternative and is something I've used aswell -- likely based on your suggestion. I just have relied more onthe convention of defining variables when needed.I'm curious, does anyone distinguish between "" (or blank) and nil(undefined) in WebDNA?On Wed, Jun 22, 2011 at 7:16 PM, Kenneth Grome
wrote:> If all you're doing is checking to see if a variable exists,> why not do this?:>> [text]abc=3D123[/text]> [text]def=3D[/text]>> [showif [abc]!]this stuff is shown[/showif]> [showif [def]!]this stuff is hidden[/showif]>> All it takes is presetting the vars at the top of the page,> then you don't have to screw around with [raw] or> [interpret] ... or some new syntax that would require WebDNA> to be rewritten.>> I've done this for years, it is so efficient and effective that> I've never needed anything else. =A0You don't even have to> [url] the variable tags when you do it this way!>> Sincerely,> Kenneth Grome> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us>
Associated Messages, from the most recent to the oldest:
I think that works as an alternative and is something I've used aswell -- likely based on your suggestion. I just have relied more onthe convention of defining variables when needed.I'm curious, does anyone distinguish between "" (or blank) and nil(undefined) in WebDNA?On Wed, Jun 22, 2011 at 7:16 PM, Kenneth Grome wrote:> If all you're doing is checking to see if a variable exists,> why not do this?:>> [text]abc=3D123[/text]> [text]def=3D[/text]>> [showif [abc]!]this stuff is shown[/showif]> [showif [def]!]this stuff is hidden[/showif]>> All it takes is presetting the vars at the top of the page,> then you don't have to screw around with [raw] or> [interpret] ... or some new syntax that would require WebDNA> to be rewritten.>> I've done this for years, it is so efficient and effective that> I've never needed anything else. =A0You don't even have to> [url] the variable tags when you do it this way!>> Sincerely,> Kenneth Grome> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us>
William DeVaul
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:
Renaming TextA (1998)
Help! WebCat2 bug (1997)
How To question on setting up downloads (1997)
CommandSecurity? (1997)
Text limits in NT version? (1997)
Security Levels... Possible? (2000)
Emailer problems. (1998)
HELP (2000)
Protect (1997)
WC2b15 File Corruption (1997)
Secure server question (1997)
Summary Searches (2000)
searchable list archive (1997)
[WebDNA] OT: what is the "right" platform ? (2009)
Search and Change (2003)
OT: a little server help needed (2003)
Credit card types (1997)
WebCommerce: Folder organization ? (1997)
Bug or syntax error on my part? (1997)
Setting up WebCatalog with Retail Pro data (1996)