Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Copying objects

5 posts in Objects Last posting was on 2003-06-09 12:45:02.0Z
Poilenkov Andrey Posted on 2003-06-06 07:48:20.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Poilenkov Andrey" <poilenkov@advantum.ru>
Subject: Copying objects
Date: Fri, 6 Jun 2003 11:48:20 +0400
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: ADVANTUM.access.comstar.ru 212.248.124.212
Message-ID: <364_uILHJCALDHA.345@forums-1-dub>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-1-dub.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:7453
Article PK: 734741

Hi all.
Can anybody explain, how to copy created non visual objects with all values
of variables.
For example:
n_object lnv_object
n_object lnv_object_pointer
lnv_object = create n_object
lnv_object.is_title = 'Title'
//I need a copy of this object, not a pointer.
lnv_object_pointer= lnv_object // This is unsuitable :(((


Konstantin Goldobin Posted on 2003-06-09 05:37:35.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Konstantin Goldobin" <kgold@marvel.vrn.ru>
Subject: Re: Copying objects
Date: Mon, 9 Jun 2003 09:37:35 +0400
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
NNTP-Posting-Host: dial150.comch.ru 213.24.92.150
Message-ID: <364_uM$O6mkLDHA.341@forums-1-dub>
References: <364_uILHJCALDHA.345@forums-1-dub>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-1-dub.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:7455
Article PK: 734742

Do what Philip said or switch to autoinstantiated objects.

"Poilenkov Andrey" <poilenkov@advantum.ru> wrote in message
news:uILHJCALDHA.345@forums-1-dub...
> Hi all.
> Can anybody explain, how to copy created non visual objects with all
values
> of variables.
> For example:
> n_object lnv_object
> n_object lnv_object_pointer
> lnv_object = create n_object
> lnv_object.is_title = 'Title'
> file://I need a copy of this object, not a pointer.
> lnv_object_pointer= lnv_object // This is unsuitable :(((
>
>


Poilenkov Andrey Posted on 2003-06-09 09:19:48.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Poilenkov Andrey" <poilenkov@advantum.ru>
Subject: Re: Copying objects
Date: Mon, 9 Jun 2003 13:19:48 +0400
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: ADVANTUM.access.comstar.ru 212.248.124.212
Message-ID: <364_uyP5ElmLDHA.218@forums-2-dub>
References: <364_uILHJCALDHA.345@forums-1-dub> <364_uM$O6mkLDHA.341@forums-1-dub>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2-dub.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:7456
Article PK: 734746

÷ÓÅ ÜÔÉ ÍÅÔÏÄÙ ÐÏÎÑÔÎÙ, Ñ ÄÕÍÁÌ, ÞÔÏ ÓÕÝÅÓÔ×ÕÅÔ, ËÁËÏÊ-ÎÉÂÕÄØ ÐÏÌÕÈÁËÅÒÓËÉÊ
ÓÐÏÓÏ ÄÌÑ ËÏÐÉÒÏ×ÁÎÉÑ ÏÂßÅËÔÏ×, ×ÅÄØ × ËÏÎÅÞÎÏÍ ÉÔÏÇÅ ÏÂßÅËÔ PB
ÐÒÅÄÓÔÁ×ÌÑÅÔ ÉÚ ÓÅÂÑ ÏÂßÅËÔÙ C++, Á ÏÎÉ ÐÒÅËÒÁÓÎÏ ËÏÐÉÒÕÀÔÓÑ:((

"Konstantin Goldobin" <kgold@marvel.vrn.ru> wrote in message
news:uM$O6mkLDHA.341@forums-1-dub...
> Do what Philip said or switch to autoinstantiated objects.
>
> "Poilenkov Andrey" <poilenkov@advantum.ru> wrote in message
> news:uILHJCALDHA.345@forums-1-dub...
> > Hi all.
> > Can anybody explain, how to copy created non visual objects with all
> values
> > of variables.
> > For example:
> > n_object lnv_object
> > n_object lnv_object_pointer
> > lnv_object = create n_object
> > lnv_object.is_title = 'Title'
> > file://I need a copy of this object, not a pointer.
> > lnv_object_pointer= lnv_object // This is unsuitable :(((
> >
> >
>
>


Philip Salgannik Posted on 2003-06-09 12:45:02.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Philip Salgannik" <philemax@attbi.com>
Subject: Re: Copying objects
Date: Mon, 9 Jun 2003 08:45:02 -0400
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: h0020af718683.ne.client2.attbi.com 24.34.75.150
Message-ID: <364_eanOwXoLDHA.317@forums-2-dub>
References: <364_uILHJCALDHA.345@forums-1-dub> <364_uM$O6mkLDHA.341@forums-1-dub> <364_uyP5ElmLDHA.218@forums-2-dub>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2-dub.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:7457
Article PK: 734744

ëÔÏ ÓËÁÚÁÌ, ÞÔÏ ÏÎÉ "ÐÒÅËÒÁÓÎÏ ËÏÐÉÒÕÀÔÓÑ" ÓÁÍÉ? Copy Constructor ÐÉÓÁÔØ
ÎÁÄÏ...

--
This is a FAQ, read Help, then search
www.groups.google.com/advanced_group_search

pbm_thisusuallydoesnothelp:-))
Philip Salgannik

"Poilenkov Andrey" <poilenkov@advantum.ru> wrote in message
news:uyP5ElmLDHA.218@forums-2-dub...
> ÷ÓÅ ÜÔÉ ÍÅÔÏÄÙ ÐÏÎÑÔÎÙ, Ñ ÄÕÍÁÌ, ÞÔÏ ÓÕÝÅÓÔ×ÕÅÔ, ËÁËÏÊ-ÎÉÂÕÄØ
ÐÏÌÕÈÁËÅÒÓËÉÊ
> ÓÐÏÓÏ ÄÌÑ ËÏÐÉÒÏ×ÁÎÉÑ ÏÂßÅËÔÏ×, ×ÅÄØ × ËÏÎÅÞÎÏÍ ÉÔÏÇÅ ÏÂßÅËÔ PB
> ÐÒÅÄÓÔÁ×ÌÑÅÔ ÉÚ ÓÅÂÑ ÏÂßÅËÔÙ C++, Á ÏÎÉ ÐÒÅËÒÁÓÎÏ ËÏÐÉÒÕÀÔÓÑ:((

> "Konstantin Goldobin" <kgold@marvel.vrn.ru> wrote in message
> news:uM$O6mkLDHA.341@forums-1-dub...
> > Do what Philip said or switch to autoinstantiated objects.
> >
> > "Poilenkov Andrey" <poilenkov@advantum.ru> wrote in message
> > news:uILHJCALDHA.345@forums-1-dub...
> > > Hi all.
> > > Can anybody explain, how to copy created non visual objects with all
> > values
> > > of variables.
> > > For example:
> > > n_object lnv_object
> > > n_object lnv_object_pointer
> > > lnv_object = create n_object
> > > lnv_object.is_title = 'Title'
> > > file://I need a copy of this object, not a pointer.
> > > lnv_object_pointer= lnv_object // This is unsuitable :(((
> > >
> > >
> >
> >
>
>


Philip_Salgannik Posted on 2003-06-06 15:24:31.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: Philip_Salgannik
Date: Fri, 6 Jun 2003 11:24:31 -0400
Subject: Re: Copying objects
Lines: 1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <364_ECE2FA0AC83FC6990054A44E85256D3D.002FBE3785256D3D@webforums>
References: <364_uILHJCALDHA.345@forums-1-dub>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.powerbuilder.objects:7454
Article PK: 734743

You'll have to roll your own deep copy.