RE: append variable to a variable??

2000-12-21 Thread Philip Arnold - ASP
> Why is it "better"? SetVariable is just another redundant function to > learn, another syntax to look up. I believe there actually IS some > circumstance where you MUST use it, but I just can't recall when. In a word - CFScript You can't use "Variable#i#"="test" in CFScript, but SetVariable

RE: append variable to a variable??

2000-12-21 Thread BORKMAN Lee
It's beautiful. Lee (Bjork) Borkman http://bjork.net ColdFusion Tags by Bjork IMPORTANT NOTICE: This e-mail and any attachment to it is intended only to be read or used by the named addressee. It is confidential and may contain legally privileged information. No confidentiality or privilege

RE: append variable to a variable??

2000-12-21 Thread cfxvx100
I believe there is a function in CF called SetVariable that will allow you to create custom vars. -Original Message- From: Paul Mone [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 15, 2000 11:58 PM To: CF-Talk Subject: RE: append variable to a variable?? You can use evaluate to

Re: append variable to a variable??

2000-11-18 Thread John Foulds
Sent: Friday, November 17, 2000 5:17 AM Subject: Re: append variable to a variable?? > Excellent question that I wouldnt mind knowing an answer to myself. Anyone? > > > >From: Rob Keniger <[EMAIL PROTECTED]> > >Reply-To: [EMAIL PROTECTED] > >To: CF-Talk <[EMAIL

RE: append variable to a variable??

2000-11-17 Thread Dave Watts
> > Using SetVariable is better > > > > > > I disagree. > > Why is it "better"? SetVariable is just another redundant function to > learn, another syntax to look up. I believe there actually IS some > circumstance where you MUST use it, but I just can't recall when. > > does exactly what you w

RE: append variable to a variable??

2000-11-17 Thread Lee Borkman
Aidan, I wonder why you tried the ugly version first. Forget the ampersands, forget SetVariable. Maybe forget the vairables scoping as well. Just do this: Now doesn't that look much MUCH nicer than this: I mean to say, what the hell is all THAT about? Bjork. ---

RE: append variable to a variable??

2000-11-17 Thread Aidan Whitehall
> Why is it "better"? SetVariable is just another redundant function to > learn, another syntax to look up. I believe there actually IS some > circumstance where you MUST use it, but I just can't recall when. > > does exactly what you would > expect and > hope. It's simple (as in Occam's Raz

Re: append variable to a variable??

2000-11-17 Thread Michael Thomas
Excellent question that I wouldnt mind knowing an answer to myself. Anyone? >From: Rob Keniger <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: CF-Talk <[EMAIL PROTECTED]> >Subject: Re: append variable to a variable?? >Date: Fri, 17 Nov 2000 14:31:52 +1000 >

RE: append variable to a variable??

2000-11-16 Thread BORKMAN Lee
Yes, I believe that IncrementValue IS faster, but I'm not going to use it except where I need to squeeze the last millisecond from a heavily-used piece of code. Comprehensibility + readabaility = maintainability + reliabaility, or something like that. Lee (Bjork) Borkman http://bjork.net ColdFus

Re: append variable to a variable??

2000-11-16 Thread Rob Keniger
on 17/11/00 10:19 AM, BORKMAN Lee at [EMAIL PROTECTED] wrote: > > As with most languages, you only need to use 50% (or even less) of a CF's > functions to do 99% of the stuff that you would ever want to do. > Coincidentally, using just that 50% makes your code easier to work with for > other ave

RE: append variable to a variable??

2000-11-16 Thread BORKMAN Lee
I disagree. Why is it "better"? SetVariable is just another redundant function to learn, another syntax to look up. I believe there actually IS some circumstance where you MUST use it, but I just can't recall when. does exactly what you would expect and hope. It's simple (as in Occam's Razor

RE: append variable to a variable??

2000-11-16 Thread JustinMacCarthy
Using SetVariable is better Justin >-Original Message- >From: S R [mailto:[EMAIL PROTECTED]] >Sent: Thursday, November 16, 2000 5:29 PM >To: CF-Talk >Subject: RE: append variable to a variable?? > > >Thanks Everyone!! > >Sal > > >>From: "

RE: append variable to a variable??

2000-11-16 Thread S R
Thanks Everyone!! Sal >From: "Andrew" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: CF-Talk <[EMAIL PROTECTED]> >Subject: RE: append variable to a variable?? >Date: Wed, 15 Nov 2000 22:40:23 -0500 > >Sal: > >Sure there is. tr

RE: append variable to a variable??

2000-11-15 Thread Sandra Clark
#evaluate('Edname#x#')# -Original Message- From: S R [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 15, 2000 4:56 PM To: CF-Talk Subject: append variable to a variable?? Is there anyway to do this? I have six variables in my database they are called: EdName1, EdName2,

RE: append variable to a variable??

2000-11-15 Thread Paul Mone
Wow, I didn't know you could do that. thanks. -Original Message- From: Andrew [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 15, 2000 7:40 PM To: CF-Talk Subject: RE: append variable to a variable?? Sal: Sure there is. try this for instance: Edname2 is #Edname2#

RE: append variable to a variable??

2000-11-15 Thread Paul Mone
You can use evaluate to do this to display variables: #evaluate("EdName" & nIndex)# However you cannot use it on the left side of an experssion, i.e Maybe you should use an array. -Original Message- From: S R [mailto:[EMAIL PROTECTED]] Sent: Wednesday, Novemb

Re: append variable to a variable??

2000-11-15 Thread Justin Scott
I haven't done this in a while, but I believe this is the correct syntax... ___ Justin Scott :: [Staff Developer] http://www.annex.com > EdName1, EdName2, etc. > > It would be awesome if I could set a variable that could dynamically change > the number of

RE: append variable to a variable??

2000-11-15 Thread Andrew
Sal: Sure there is. try this for instance: Edname2 is #Edname2# How's that? Andrew Hewitt Web Application Developer webworld studios, inc. www.wwstudios.com -Original Message- From: S R [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 15, 2000 7:56 PM To: CF-Talk Subject: