setting variable with a period

2002-10-03 Thread Paul Giesenhagen
I am doing the following but am getting an invalid parser construct, it doesn't like the period is 1.5 cfscript request.shipcode_1.5 = '1.50'; /cfscript Any suggestions? Thanks Paul Giesenhagen QuillDesign ~| Archives:

RE: setting variable with a period

2002-10-03 Thread Everett, Al
variable with a period I am doing the following but am getting an invalid parser construct, it doesn't like the period is 1.5 cfscript request.shipcode_1.5 = '1.50'; /cfscript Any suggestions? Thanks Paul Giesenhagen QuillDesign

Re: setting variable with a period

2002-10-03 Thread Gyrus
- Original Message - From: Paul Giesenhagen [EMAIL PROTECTED] I am doing the following but am getting an invalid parser construct, it doesn't like the period is 1.5 cfscript request.shipcode_1.5 = '1.50'; /cfscript --- Are you on MX? MX now doesn't

Re: setting variable with a period

2002-10-03 Thread Paul Giesenhagen
: Gyrus [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 03, 2002 1:00 PM Subject: Re: setting variable with a period - Original Message - From: Paul Giesenhagen [EMAIL PROTECTED] I am doing the following but am getting an invalid parser construct, it doesn't like

RE: setting variable with a period

2002-10-03 Thread Mark A. Kruger - CFG
]] Sent: Thursday, October 03, 2002 12:57 PM To: CF-Talk Subject: RE: setting variable with a period CFMX? Aren't all variables with dots are treated as structures (different than prior versions). Don't variables need to start with a letter? -Original Message- From: Paul Giesenhagen

Re: setting variable with a period

2002-10-03 Thread Paul Giesenhagen
] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, October 03, 2002 1:14 PM Subject: RE: setting variable with a period Bingo - The 5 is being treated as if were a key to a structure. Prior versions would have accepted this naming convention as shipcode_1.5', but CFMX is seeing shipcode_1['5

Re: setting variable with a period

2002-10-03 Thread Samuel Farmer
: setting variable with a period No, this is on CF 5.0 .. but for CFMX what can you do to work around this? SO I cannot set the following in CFMX: cfset variables.myStr = Hello World, you are wonderful. (period at the end of a sentance?) That kind of bites! Paul Giesenhagen QuillDesign

Re: setting variable with a period

2002-10-03 Thread S . Isaac Dealey
I am doing the following but am getting an invalid parser construct, it doesn't like the period is 1.5 cfscript request.shipcode_1.5 = '1.50'; /cfscript Any suggestions? Yep... You can't normally name a variable with a number, and since MX is dot-notation sensitive, it interprets .5