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.

user-level structures

4 posts in Objects Last posting was on 2003-10-21 23:55:58.0Z
Paulo Eduardo Ostermann Filho Posted on 2003-10-21 19:40:56.0Z
From: "Paulo Eduardo Ostermann Filho" <peoft@terra.com.br>
Newsgroups: sybase.public.powerbuilder.objects
Subject: user-level structures
Lines: 20
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
X-Original-NNTP-Posting-Host: 200-102-085-013.nhoce7002.dsl.brasiltelecom.net.br
Message-ID: <3f958cc1@forums-2-dub>
X-Original-Trace: 21 Oct 2003 12:45:05 -0700, 200-102-085-013.nhoce7002.dsl.brasiltelecom.net.br
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 21 Oct 2003 12:34:04 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 21 Oct 2003 12:40:56 -0700
X-Trace: forums-1-dub 1066765256 10.22.108.75 (21 Oct 2003 12:40:56 -0700)
X-Original-Trace: 21 Oct 2003 12:40:56 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7631
Article PK: 734910

hello all,

I'm developing a user object[let's call it OBJ1] whose
inherits from another user object[OBJ2] that contains a
lot of functions, contants and structures.

so when I'm developing the OBJ1, I'm able to see/use all
the functions and constants inherited from OBJ2, but I
can't see the structures.

I already tried edit the OBJ2' source code, changing all
that I could imagine to make the structures visible on
the OBJ1, but nothing happens.

my question is: is there somehow to inherit structures
from OBJ2 to OBJ1?

Tnks and rgds!


Roy Kiesler [TeamSybase] Posted on 2003-10-21 20:27:42.0Z
From: "Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
References: <3f958cc1@forums-2-dub>
Subject: Re: user-level structures
Lines: 37
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: 208.252.62.131
X-Original-NNTP-Posting-Host: 208.252.62.131
Message-ID: <3f9596be@forums-1-dub>
Date: 21 Oct 2003 13:27:42 -0700
X-Trace: forums-1-dub 1066768062 208.252.62.131 (21 Oct 2003 13:27:42 -0700)
X-Original-Trace: 21 Oct 2003 13:27:42 -0700, 208.252.62.131
X-Authenticated-User: TeamPS
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7632
Article PK: 734912

Assuming the ancestor NVO's class name is "n_cst_foo" and it contains a
structure called "foostruct" with member "bar" of type string, then if you
inherit a new NVO from "n_cst_foo", you can reference foostruct as follows:

n_cst_foo`foostruct myStruct

myStruct.bar = "hello"

--
<hopethishelps/>
Roy Kiesler [TeamSybase]
SDN CodeXchange -- http://codexchange.sybase.com

"Paulo Eduardo Ostermann Filho" <peoft@terra.com.br> wrote in message
news:3f958cc1@forums-2-dub...
> hello all,
>
> I'm developing a user object[let's call it OBJ1] whose
> inherits from another user object[OBJ2] that contains a
> lot of functions, contants and structures.
>
> so when I'm developing the OBJ1, I'm able to see/use all
> the functions and constants inherited from OBJ2, but I
> can't see the structures.
>
> I already tried edit the OBJ2' source code, changing all
> that I could imagine to make the structures visible on
> the OBJ1, but nothing happens.
>
> my question is: is there somehow to inherit structures
> from OBJ2 to OBJ1?
>
> Tnks and rgds!
>
>


Paul Horan[TeamSybase] Posted on 2003-10-21 22:39:04.0Z
From: "Paul Horan[TeamSybase]" <paulhATvcisolutionsDOTcom>
Newsgroups: sybase.public.powerbuilder.objects
References: <3f958cc1@forums-2-dub> <3f9596be@forums-1-dub>
Subject: Re: user-level structures
Lines: 46
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
X-Original-NNTP-Posting-Host: 67-23-183-54.bflony.adelphia.net
Message-ID: <3f95b680$1@forums-2-dub>
X-Original-Trace: 21 Oct 2003 15:43:12 -0700, 67-23-183-54.bflony.adelphia.net
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 21 Oct 2003 15:32:12 -0700, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 21 Oct 2003 15:39:04 -0700
X-Trace: forums-1-dub 1066775944 10.22.108.75 (21 Oct 2003 15:39:04 -0700)
X-Original-Trace: 21 Oct 2003 15:39:04 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7633
Article PK: 734913

Aren't object-level structures inherently PRIVATE?? I thought that was introduced in PB7...

--
Paul Horan[TeamSybase]

"Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com> wrote in message news:3f9596be@forums-1-dub...
> Assuming the ancestor NVO's class name is "n_cst_foo" and it contains a
> structure called "foostruct" with member "bar" of type string, then if you
> inherit a new NVO from "n_cst_foo", you can reference foostruct as follows:
>
> n_cst_foo`foostruct myStruct
>
> myStruct.bar = "hello"
>
> --
> <hopethishelps/>
> Roy Kiesler [TeamSybase]
> SDN CodeXchange -- http://codexchange.sybase.com
>
> "Paulo Eduardo Ostermann Filho" <peoft@terra.com.br> wrote in message
> news:3f958cc1@forums-2-dub...
> > hello all,
> >
> > I'm developing a user object[let's call it OBJ1] whose
> > inherits from another user object[OBJ2] that contains a
> > lot of functions, contants and structures.
> >
> > so when I'm developing the OBJ1, I'm able to see/use all
> > the functions and constants inherited from OBJ2, but I
> > can't see the structures.
> >
> > I already tried edit the OBJ2' source code, changing all
> > that I could imagine to make the structures visible on
> > the OBJ1, but nothing happens.
> >
> > my question is: is there somehow to inherit structures
> > from OBJ2 to OBJ1?
> >
> > Tnks and rgds!
> >
> >
>
>


Philip Salgannik Posted on 2003-10-21 23:55:58.0Z
From: "Philip Salgannik" <philemaxNOSPAM@comcast.net>
Newsgroups: sybase.public.powerbuilder.objects
References: <3f958cc1@forums-2-dub> <3f9596be@forums-1-dub> <3f95b680$1@forums-2-dub>
Subject: Re: user-level structures
Lines: 62
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
X-Original-NNTP-Posting-Host: h0020af718683.ne.client2.attbi.com
Message-ID: <3f95c78e$1@forums-1-dub>
Date: 21 Oct 2003 16:55:58 -0700
X-Trace: forums-1-dub 1066780558 24.34.75.150 (21 Oct 2003 16:55:58 -0700)
X-Original-Trace: 21 Oct 2003 16:55:58 -0700, h0020af718683.ne.client2.attbi.com
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:7634
Article PK: 734915

Yes they are, but the statement that Roy posted is not an access to the
private variable, it's a declaration of the variable of a particular type
:-)


pbm_thisusuallydoesnothelp:-))
Philip Salgannik

"Paul Horan[TeamSybase]" <paulhATvcisolutionsDOTcom> wrote in message
news:3f95b680$1@forums-2-dub...
> Aren't object-level structures inherently PRIVATE?? I thought that was
introduced in PB7...
>
> --
> Paul Horan[TeamSybase]
>
>
> "Roy Kiesler [TeamSybase]" <SPAM_FREE_roy.kiesler@teamsybase.com> wrote in
message news:3f9596be@forums-1-dub...
> > Assuming the ancestor NVO's class name is "n_cst_foo" and it contains a
> > structure called "foostruct" with member "bar" of type string, then if
you
> > inherit a new NVO from "n_cst_foo", you can reference foostruct as
follows:
> >
> > n_cst_foo`foostruct myStruct
> >
> > myStruct.bar = "hello"
> >
> > --
> > <hopethishelps/>
> > Roy Kiesler [TeamSybase]
> > SDN CodeXchange -- http://codexchange.sybase.com
> >
> > "Paulo Eduardo Ostermann Filho" <peoft@terra.com.br> wrote in message
> > news:3f958cc1@forums-2-dub...
> > > hello all,
> > >
> > > I'm developing a user object[let's call it OBJ1] whose
> > > inherits from another user object[OBJ2] that contains a
> > > lot of functions, contants and structures.
> > >
> > > so when I'm developing the OBJ1, I'm able to see/use all
> > > the functions and constants inherited from OBJ2, but I
> > > can't see the structures.
> > >
> > > I already tried edit the OBJ2' source code, changing all
> > > that I could imagine to make the structures visible on
> > > the OBJ1, but nothing happens.
> > >
> > > my question is: is there somehow to inherit structures
> > > from OBJ2 to OBJ1?
> > >
> > > Tnks and rgds!
> > >
> > >
> >
> >
>
>