Re: [WebDNA] Data Type Bool
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103151
interpreted = N
texte = --Apple-Mail-1-603703563Content-Type: text/plain;charset=US-ASCII;format=flowed;delsp=yesContent-Transfer-Encoding: 7bitI bottom posted, see below:On Aug 5, 2009, at 11:24 AM, Terry Wilson wrote:> Then what did you mean when you said:>>> > Be aware that something like [showif [instock]=1] is>> >the same as [showif [instock]] as long as [instock] is>> >greater than zero when an item is actually in stock. It>> >helps make the code a little bit more readable, too.there was discussion back around version 4 release (year 2000?) (IIRC) about [if] expressions taking advantage of boolean states behind the scenes, so that one could use code like what Patrick was referring to. In those days I did not pay enough attention about that to say more now... but if you wanted to look into the roots of this discussion, searching the old archives for what I am referring to would be a good start.--Apple-Mail-1-603703563Content-Type: text/html;charset=US-ASCIIContent-Transfer-Encoding: quoted-printableI bottom posted, see =below:
On Aug 5, 2009, at 11:24 AM, Terry Wilson =wrote:
Then what did you mean when you said:
> Be aware that something like [showif =[instock]=3D1] is
>the same as [showif [instock]] as long as =[instock] is
>greater than zero when an item is actually in =stock. It
>helps make the code a little bit more readable, =too.
<=br>
there was discussion back around version 4 release (year =2000?) (IIRC) about [if] expressions taking advantage of boolean =states behind the scenes, so that one could use code like what Patrick =was referring to. In those days I did not pay enough attention =about that to say more now... but if you wanted to look into the =roots of this discussion, searching the old archives for what I am =referring to would be a good start.
=--Apple-Mail-1-603703563--
Associated Messages, from the most recent to the oldest:
--Apple-Mail-1-603703563Content-Type: text/plain;charset=US-ASCII;format=flowed;delsp=yesContent-Transfer-Encoding: 7bitI bottom posted, see below:On Aug 5, 2009, at 11:24 AM, Terry Wilson wrote:> Then what did you mean when you said:>>> > Be aware that something like [showif [instock]=1] is>> >the same as [showif [instock]] as long as [instock] is>> >greater than zero when an item is actually in stock. It>> >helps make the code a little bit more readable, too.there was discussion back around version 4 release (year 2000?) (IIRC) about
[if] expressions taking advantage of boolean states behind the scenes, so that one could use code like what Patrick was referring to. In those days I did not pay enough attention about that to say more now... but if you wanted to look into the roots of this discussion, searching the old archives for what I am referring to would be a good start.--Apple-Mail-1-603703563Content-Type: text/html;charset=US-ASCIIContent-Transfer-Encoding: quoted-printableI bottom posted, see =below:
On Aug 5, 2009, at 11:24 AM, Terry Wilson =wrote:
Then what did you mean when you said:
> Be aware that something like [showif =[instock]=3D1] is
>the same as [showif [instock]] as long as =[instock] is
>greater than zero when an item is actually in =stock. It
>helps make the code a little bit more readable, =too.
<=br>
there was discussion back around version 4 release (year =2000?) (IIRC) about
[if] expressions taking advantage of boolean =states behind the scenes, so that one could use code like what Patrick =was referring to. In those days I did not pay enough attention =about that to say more now... but if you wanted to look into the =roots of this discussion, searching the old archives for what I am =referring to would be a good start.
=--Apple-Mail-1-603703563--
Govinda
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:
getchars broken? (1997)
Setting up shop (1997)
Size limit for tmpl editor ? (1997)
WCS Newbie question (1997)
For those of you not on the WebCatalog Beta... (1997)
Attn: Bug in GeneralStore example b15 (1997)
[WebDNA] WebDNA version 7 feature list? (2011)
[SearchString] problem with [search] context (1997)
WebCommerce: Folder organization ? (1997)
Error, 101 a DNS problem ? (1997)
[WebDNA] Integration with QuickBooks (2011)
bug in [SendMail] (1997)
[dos] command question (1997)
my price won't move (1997)
Re1000001: Setting up shop (1997)
Multiple serial numbers (1997)
Just Testing (1997)
This list needs a digest: rant, rave... (1997)
Spreadsheet Interface. (1998)
MacActivity and PCS (1997)