No it's not!
Allan Pichler
Machine Dreams Inc.
-Original Message-
From: Johan Coens [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 1:47 AM
To: CF-Talk
Subject: Duplicate supported in CF4.0
Quick question
is the Duplicate function supported in CF4.0?
Best regards,
Johan
StructCopy(structure)
-Original Message-
From: Johan Coens [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 1:54 AM
To: CF-Talk
Subject: RE: Duplicate supported in CF4.0
How do you duplicate a structure in CF4.0?
-Original Message-
From: Allan Pichler [mailto
, if so create a corresponding
new one in the target structure.
Nick
-Original Message-
From: Johan Coens [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 10:11 AM
To: CF-Talk
Subject: RE: Duplicate supported in CF4.0
Using StrucyCopy you still reference the original structure
to:[EMAIL PROTECTED]]
Sent: donderdag 21 december 2000 11:25
To: CF-Talk
Subject: RE: Duplicate supported in CF4.0
Johan
I believe you have to do a structNew() then CFLOOP through the original
structure copying each element.
This is easy if you know up front what elements the structure contains
that you are trying to duplicate aren't copied wholesale but
are referenced through pointers.
Steve
-Original Message-
From: Johan Coens [mailto:[EMAIL PROTECTED]]
Sent: 21 December 2000 10:11
To: CF-Talk
Subject: RE: Duplicate supported in CF4.0
Using StrucyCopy you still reference
But why doesn't allaire use StructCopy ... ;)
-Original Message-
From: Steve Martin [mailto:[EMAIL PROTECTED]]
Sent: donderdag 21 december 2000 11:43
To: CF-Talk
Subject: RE: Duplicate supported in CF4.0
Not entirely true. Structcopy does actually duplicate the structure in
question. I
-
From: Johan Coens [mailto:[EMAIL PROTECTED]]
Sent: 21 December 2000 11:11
To: CF-Talk
Subject: RE: Duplicate supported in CF4.0
But why doesn't allaire use StructCopy ... ;)
-Original Message-
From: Steve Martin [mailto:[EMAIL PROTECTED]]
Sent: donderdag 21 december 2000 11:43
To: CF-Talk
rsday, December 21, 2000 5:43 AM
To: CF-Talk
Subject: RE: Duplicate supported in CF4.0
Not entirely true. Structcopy does actually duplicate the structure in
question. I think there's some confusion here over cfset
somenewvar=anoldstruct which creates a pointer to the original.
Structco
.
Regards,
Johan
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: donderdag 21 december 2000 14:20
To: CF-Talk
Subject: RE: Duplicate supported in CF4.0
Be aware that there is a similar issue in Duplicate. If you duplicate a
structure that has an array that has an element
9 matches
Mail list logo