[cfaussie] Re: String concatenation - what's happening here?

2009-06-01 Thread Chris Velevitch
On Mon, Jun 1, 2009 at 15:58, Mike Kear afpwebwo...@gmail.com wrote: That function is a method in the CFC i'm using.   It goes out to the Are you sure the problem is not with the method? The way I see it, the method, whilst correctly determining the path, is doing something else before

[cfaussie] Re: String concatenation - what's happening here?

2009-06-01 Thread Kym Kovan
Chris Velevitch wrote: Are you sure the problem is not with the method? The way I see it, the method, whilst correctly determining the path, is doing something else before returning the path. Agreed Chris. Dump it Mike, Dump it :-) -- Yours, Kym Kovan mbcomms.net.au

[cfaussie] Re: String concatenation - what's happening here?

2009-06-01 Thread Mike Kear
I said at the outset that this problem was going to turn out to be one of those 'slap the forehead' moments. And so it's turned out. I'm using ColdSpring to instantiate the CFC in question. I forgot to reset the application to force a load of a new copy of the CFC into RAM. So I'm making

[cfaussie] Re: String concatenation - what's happening here?

2009-06-01 Thread CyberAngel
Sent: Monday, 1 June 2009 4:48 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: String concatenation - what's happening here? I said at the outset that this problem was going to turn out to be one of those 'slap the forehead' moments. And so it's turned out. I'm using ColdSpring

[cfaussie] Re: String concatenation - what's happening here?

2009-05-31 Thread Phil Haeusler
Mike, It looks like you're got CF trying to do an integer division with two strings. Try cfset temporaryfile = gettemporarydirabs() \ theImage.getName()# / instead. That should work for you. Phil -Original Message- From: Mike Kear afpwebwo...@gmail.com To: cfaussie

[cfaussie] Re: String concatenation - what's happening here?

2009-05-31 Thread Phil Haeusler
...of course without the # at the end cfset temporaryfile = gettemporarydirabs() \ theImage.getName() / -Original Message- From: Phil Haeusler p...@gtnet.com.au To: cfaussie@googlegroups.com Date: Mon, 01 Jun 2009 14:47:58 +1000 Subject: [cfaussie] Re: String concatenation - what's

[cfaussie] Re: String concatenation - what's happening here?

2009-05-31 Thread Kym Kovan
Hi Mike, Your first option should work if they really are strings, I've done that one often enuf myself. Evaluate is just doing the same job and I've never seen toString being used lke that before :-) if cfset temporaryfile = #gettemporarydirabs()#\#theImage.getName()# / does not work try

[cfaussie] Re: String concatenation - what's happening here?

2009-05-31 Thread Mike Kear
temporaryfile = gettemporarydirabs() \ theImage.getName() / -Original Message- From: Phil Haeusler p...@gtnet.com.au To: cfaussie@googlegroups.com Date: Mon, 01 Jun 2009 14:47:58 +1000 Subject: [cfaussie] Re: String concatenation - what's happening here? Mike, It looks like

[cfaussie] Re: String concatenation - what's happening here?

2009-05-31 Thread Mike Kear
Thanks a lot Kym, I can see the logic in what you're suggesting. I figured to myself, 'yes as always, Kym shows good sense'.So I tried it. Gave the same infuriating outcome - the line cfset string1 = gettemporarydirabs() / gives the following error:

[cfaussie] Re: String concatenation - what's happening here?

2009-05-31 Thread Kym Kovan
Mike Kear wrote: Thanks a lot Kym, I can see the logic in what you're suggesting. I figured to myself, 'yes as always, Kym shows good sense'.So I tried it. Gave the same infuriating outcome - the line cfset string1 = gettemporarydirabs() / gives the following error:

[cfaussie] Re: String concatenation - what's happening here?

2009-05-31 Thread Chris Velevitch
Mike, What is gettemporarydirabs as I don't see it in the CF8 documentation? Chris -- Chris Velevitch Manager - Adobe Platform Users Group, Sydney m: 0415 469 095 www.apugs.org.au Adobe Platform Users Group, Sydney June meeting: UG Tour Flex 4, Catalyst, Flash Builder, Coldfusion and Bolt

[cfaussie] Re: String concatenation - what's happening here?

2009-05-31 Thread Mike Kear
G'day Chris, That function is a method in the CFC i'm using. It goes out to the config.cfc and gets one of a number of directory locations in the CMS system. there are also methods like getproductImagedirABS() and getProductThumbnailURL() And a whole host of other paths that originate in