Best practises question

2004-01-29 Thread David Adams
In the following snippet, what is better form for representing a true statement in the CFIF (ie. "YES", true, or 1)? or or More fruit added to arr_fruit NO fruit added [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: Best practises question

2004-01-29 Thread Jochem van Dieten
David Adams said: > In the following snippet, what is better form for representing a > true statement in the CFIF (ie. "YES", true, or 1)? > > > > > > > > > or > > or > Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Best practises question

2004-01-29 Thread Stephen Barry
Hi David As far as I'm aware the best practice in this example is actually: More fruit added to arr_fruit NO fruit added Regards Steve. -Original Message- From: David Adams [mailto:[EMAIL PROTECTED] Sent: 29 January 2004 12:59 To: CF-Talk Subject: Best practises question I

RE: Best practises question

2004-01-29 Thread Hagan, Ryan Mr (Contractor ACI)
I've read several places that it's preferable to use the following syntax: -Original Message- From: David Adams [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 7:59 AM To: CF-Talk Subject: Best practises question In the following snippet, what is bette

RE: Best practises question

2004-01-29 Thread Tony Weeg
-Talk Subject: Best practises question In the following snippet, what is better form for representing a true statement in the CFIF (ie. "YES", true, or 1)? or or More fruit added to arr_fruit NO fruit added [Todays Threads] [This Message] [Subscription] [Fast Unsubscrib

RE: Best practises question

2004-01-29 Thread Qasim Rasheed
Can't you just use Qasim -Ori ginal Message- From: David Adams [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 7:59 AM To: CF-Talk Subject: Best practises question In the following snippet, what is better form for representing a true statement in the CFI

RE: Best practises question

2004-01-29 Thread Tony Weeg
Rasheed [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 9:38 AM To: CF-Talk Subject: RE: Best practises question Can't you just use Qasim -Ori ginal Message- From: David Adams [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 7:59 AM To: CF-Talk Sub

Re: Best practises question

2004-01-29 Thread Josh
Not sure what the best practice is... But I have frequently used: Actually, I prefer to use whenever possible. so it would be:   arr_fruit=ArrayNew(1);   arr_fruit[1]="apple";   arr_fruit[2]="banana";   arr_fruit[3]="pear";   edible = ArrayAppend(arr_fruit,"pineapple");   if ( edible )  

RE: Best practises question

2004-01-29 Thread Taco Fleur
Is the easiest to write, however not the fastest to execute executes faster And its best practice to always scope your variables. I also not sure that your example really displays correctly, i.e. you are creating an array and in the cfif example you check a simple value fo

RE: Best practises question

2004-01-29 Thread Tom Kitta
ry 29, 2004 3:02 PM   To: CF-Talk   Subject: RE: Best practises question      Is the easiest to write, however not the fastest to execute      executes faster   And its best practice to always scope your variables.                  I also not sure that your example really displays correctly, i.e

Re: Best practises question

2004-01-29 Thread Jochem van Dieten
Taco Fleur wrote: >   > > > > > >   > I also not sure that your example really displays correctly, i.e. you are > creating an array and in the cfif example you check a simple value for yes, > true or 1 >   > > or > > or > > More fruit added to arr_fruit > > NO fruit added > >   > While it

RE: Best practises question

2004-01-29 Thread Taco Fleur
/ Methodology http://www.tacofleur.com/index/methodology/ 0421 851 786 Tell me and I will forget Show me and I will remember Teach me and I will learn -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Friday, 30 January 2004 6:27 AM To: CF-Talk Subject: Re: Best

Another Best practises question

2004-02-19 Thread David Adams
Is there a better way of writing: [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Another Best practises question

2004-02-19 Thread Paul Kenney
Adams [mailto:[EMAIL PROTECTED] Sent: Thursday, February 19, 2004 11:18 AM To: CF-Talk Subject: Another Best practises question Is there a better way of writing: [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: Another Best practises question

2004-02-19 Thread Charlie Griefer
t;[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, February 19, 2004 1:49 PM Subject: RE: Another Best practises question > Probably not.  There might actually be a more compact way of doing this > test, but the great thing about the code you posted is t