Re: [WebDNA] showif with empty variable
This WebDNA talk-list message is from 2015
It keeps the original formatting.
numero = 112183
interpreted = N
texte = That=92s a very very compelling point. I=92m going to rename my function =IsSet for better readability and to be more consistent with other =languages.=20Thank you!Brian B.> On Mar 14, 2015, at 12:35 PM, Donovan Brooke
wrote:>=20> Yeah, I think either works well..> The only thing I=92ll say is =91?=92 in most languages is a ternary =operator=85 which makes it a logical choice for this kind of comparison, =but maybe lessens the =93usual scope=94 of a standardized ternary =operator, when using only for checking if a variable is set or not.>=20> I suppose there is a way to widen the scope of your [?] function=85 =but not really needed.. just a thought. :-)>=20> Donovan>=20
Associated Messages, from the most recent to the oldest:
That=92s a very very compelling point. I=92m going to rename my function =IsSet for better readability and to be more consistent with other =languages.=20Thank you!Brian B.> On Mar 14, 2015, at 12:35 PM, Donovan Brooke wrote:>=20> Yeah, I think either works well..> The only thing I=92ll say is =91?=92 in most languages is a ternary =operator=85 which makes it a logical choice for this kind of comparison, =but maybe lessens the =93usual scope=94 of a standardized ternary =operator, when using only for checking if a variable is set or not.>=20> I suppose there is a way to widen the scope of your [?] function=85 =but not really needed.. just a thought. :-)>=20> Donovan>=20
Brian Burton
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:
addlineitems within formvariable loop (1998)
Summary search -- speed (1997)
WebCat2b15MacPlugin - showing [math] (1997)
WebMerchant 1.6 and SHTML (1997)
WC Database Format (1997)
Quiz question: Return all green and blank records? (2001)
Need help with emailer- 2 issues (1997)
WebCatalog for Dummies p.1 (2000)
Re1000001: Setting up shop (1997)
I'm new be kind (1997)
[carts] and databases (1997)
Talk List Suggestions (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Saving Text Areas with Orders (1997)
Undeliverable Mail (1997)
Re[3]: 2nd WebCatalog2 Feature Request (1996)
WebTen and WebCat (1997)
WebDNA vs PHP (2003)
[WebDNA] Initial setup problems with 6.2 (2009)
Sorting by highest number of matches unique to a field (2003)