to an integer.
HTH
Craig Fisher
Macromedia Certified Instructor
Alta Interactive, Inc
- Original Message -
From: "Mike Kear" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 8:51 AM
Subject: RE: CFWDDX probl
>
> Yes yes yes. The [ ] notation doesn't work. Creates an
> error. The error message says
Um, you forgot to remove the .
> input="#application.um.[UmID]_Data#">
Should be
or, a bit easier to read:
> What's the problem with using evaluate? Is it slower than
> using the [] not
> Errr, yes. I was simply testing you guys.
>
> Yea, that's it.
>
:)
> -Original Message-
> From: Raymond Camden [mailto:[EMAIL PROTECTED]]
> Sent: 20 September 2001 16:10
> To: CF-Talk
> Subject: RE: CFWDDX problem
>
>
> > "T
But his structure is application.um.#UmID#_Data
NOT
application.um.#UmID#._Data
The difference being that _Data isn't a member of UmID but a part of the
name for the KEY itself
- Original Message -
From: "Jason Malfatto" <[EMAIL PROTECTED]>
As one of those three, I agree. I respond
P WebWorks
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 11:19 PM
To: CF-Talk
Subject: RE: CFWDDX problem
No, no no. Please do not use evaluate. Please use [] notation.
Again, this is not meant to put you down, Mike, in any way, but as
> "The struct is called: application.um.#UmID#_Data"
>
> How would you reference that as [] ?
>
> As you posted #Application.Um[UmID].Data# wouldn't that fail
> as it would be Application.Um[#UmID#_Data]
>
> Or am I miles off ?
Errr, yes. I was simply testing you guys.
Yea, that's it.
t down... Im not the most advanced CF'er ;)
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 14:19
To: CF-Talk
Subject: RE: CFWDDX problem
No, no no. Please do not use evaluate. Please use [] notation.
Again, this is not meant
;[EMAIL PROTECTED]>
>Subject: RE: CFWDDX problem
>Date: Thu, 20 Sep 2001 09:19:06 -0400
>
>No, no no. Please do not use evaluate. Please use [] notation.
>
>Again, this is not meant to put you down, Mike, in any way, but as I
>said, I see _way_ too many people doing this. In fa
No, no no. Please do not use evaluate. Please use [] notation.
Again, this is not meant to put you down, Mike, in any way, but as I
said, I see _way_ too many people doing this. In fact, 3 people replied
to cf-talk suggesting evaluate. Never use evaluate when you don't need
to.
=
Youll need
HTH
Mike
-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 13:49
To: CF-Talk
Subject: CFWDDX problem
CFWDDX problem.. What do I do about this? I want to turn a struct into
a
WDDX packet, but the name of the struct is dyma
Hmm. Have you tried putting the application variable into a local variable
first? e.g.:
Jason
>From: "Mike Kear" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: CFWDDX problem
>Date: Thu, 20 Sep 2001 22:49:06 +1000
>
>CFWDDX problem.. What do I do
the following:
> input="#evaluate('application.um.' & UmID & '_Data')#">
might help you out.
> -Original Message-
> From: Mike Kear [mailto:[EMAIL PROTECTED]]
> Sent: 20 September 2001 13:49
> To: CF-Talk
> Subject: CFWDDX problem
>
>
> CFWDDX problem.. What do I do about this? I
Since UM is a struct, just reference it as: #Application.Um[UmID].Data#
As a general comment - and I've said this before so forgive me for being
an old cranky developer (grin), folks, please do not forget the []
notation for structures. It's perfect for stuff like this.
===
wouldn't the evaluate function help here?
-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED]]
Sent: 20 September 2001 13:49
To: CF-Talk
Subject: CFWDDX problem
CFWDDX problem.. What do I do about this? I want to turn a struct into a
WDDX packet, but the name of the struct is
14 matches
Mail list logo