RE: Quick cfscript if else ?

2003-08-21 Thread Ben Doom
General Lackey Moonbow Software, Inc : -Original Message- : From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] : Sent: Thursday, August 21, 2003 3:51 PM : To: CF-Talk : Subject: Quick cfscript if else ? : : : Not done much if something is this, then set this value... : : How far off am I

RE: Quick cfscript if else ?

2003-08-21 Thread DURETTE, STEVEN J (AIT)
, 2003 3:51 PM To: CF-Talk Subject: Quick cfscript if else ? Not done much if something is this, then set this value... How far off am I? Not seeing a good tutorial directly related to this... (ignore //) ...in essence looking for a blank value and resetting to 0 or else use the numeric value

Quick cfscript if else ?

2003-08-21 Thread webmaster
Not done much if something is this, then set this value... How far off am I? Not seeing a good tutorial directly related to this... (ignore //) ...in essence looking for a blank value and resetting to 0 or else use the numeric value passed... //if

RE: Quick cfscript if else ?

2003-08-21 Thread Raymond Camden
PM To: CF-Talk Subject: Quick cfscript if else ? Not done much if something is this, then set this value... How far off am I? Not seeing a good tutorial directly related to this... (ignore //) ...in essence looking for a blank value and resetting to 0 or else use the numeric value

Quick cfscript if else ?

2003-08-21 Thread Mike Mertsock
Raymond and Steven, you are correct by using if(form[qty#k#] is ). When writing CFSCRIPT code, you use the same comparison and assignment operators that you would use in any CF tag. To assign a value: variablename = value; To check if equal: if ( form.something eq 3 ) ... To use modulo: x = y