RE: Duplicate supported in CF4.0

2000-12-21 Thread Allan Pichler
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

RE: Duplicate supported in CF4.0

2000-12-21 Thread Allan Pichler
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

RE: Duplicate supported in CF4.0

2000-12-21 Thread DeVoil, Nick
, 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

RE: Duplicate supported in CF4.0

2000-12-21 Thread Johan Coens
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

RE: Duplicate supported in CF4.0

2000-12-21 Thread Steve Martin
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

RE: Duplicate supported in CF4.0

2000-12-21 Thread Johan Coens
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

RE: Duplicate supported in CF4.0

2000-12-21 Thread Steve Martin
- 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

RE: Duplicate supported in CF4.0

2000-12-21 Thread Raymond Camden
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

RE: Duplicate supported in CF4.0

2000-12-21 Thread Johan Coens
. 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