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:
Re:Merging databases (1997)
WebCat & Liststar ... & Rumpus, too! (1997)
[OT] Indexing of dynamic web sites (2003)
Summ=T Problem (1997)
OT: Poll Please (2002)
WebDNA on Fedora 5 -Apache won't start (2006)
WebCat2 beta 11 - new prefs ... (1997)
New WebCatalog Version !!! (1997)
using showpage and showcart commands (1996)
Setting Cart value (2000)
creating a ShipCosts database (1997)
[LOOKUP] (1997)
Summing fields (1997)
Performance Issue (2000)
emailer (1997)
WebCatalog can't find database (1997)
WC2f3 (1997)
WCS Newbie question (1997)
PCS Frames (1997)
docs for WebCatalog2 (1997)