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-603703563 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit I 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-603703563 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I 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:

    
  1. Re: [WebDNA] Data Type Bool (John Butler 2009)
  2. Re: [WebDNA] Data Type Bool (Patrick McCormick 2009)
  3. Re: [WebDNA] Data Type Bool (Brian Fries 2009)
  4. Re: [WebDNA] Data Type Bool (Patrick McCormick 2009)
  5. Re: [WebDNA] Data Type Bool (Govinda 2009)
  6. Re: [WebDNA] Data Type Bool ("Terry Wilson" 2009)
  7. Re: [WebDNA] Data Type Bool (Patrick McCormick 2009)
  8. Re: [WebDNA] Data Type Bool ("Ki Song - Knifecenter.com" 2009)
  9. Re: [WebDNA] Data Type Bool ("Terry Wilson" 2009)
  10. Re: [WebDNA] Data Type Bool (Patrick McCormick 2009)
  11. Re: [WebDNA] Data Type Bool (Donovan Brooke 2009)
  12. Re: [WebDNA] Data Type Bool (Marc Thompson 2009)
  13. Re: [WebDNA] Data Type Bool (Patrick McCormick 2009)
  14. Re: [WebDNA] Data Type Bool (Marc Thompson 2009)
  15. Re: [WebDNA] Data Type Bool (Patrick McCormick 2009)
  16. Re: [WebDNA] Data Type Bool (Terry Wilson 2009)
  17. Re: [WebDNA] Data Type Bool ("Ki Song - Knifecenter.com" 2009)
  18. Re: [WebDNA] Data Type Bool (Govinda 2009)
  19. [WebDNA] Data Type Bool ("Ki Song - Knifecenter.com" 2009)
--Apple-Mail-1-603703563 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit I 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-603703563 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I 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)