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.

Problem recompiling after changing nvo method's return value datatype

2 posts in Objects Last posting was on 2003-07-24 04:33:36.0Z
Greg Posted on 2003-07-23 22:39:05.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: greg
Date: Wed, 23 Jul 2003 18:39:05 -0400
Subject: Problem recompiling after changing nvo method's return value datatype
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <364_706A750A6A3B2EEF007C6DA585256D6C.007C6DD885256D6C@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub sybase.public.powerbuilder.objects:7500
Article PK: 734786

I'm in the process of changing a lot of code that made reference to Integer
data type. I'm changing from Integer to Long. When I do this on nvo's I'm
getting compile errors indicating differences in parameter types.

I believe it has to do with decendent nvo's that have overridden the method
that are still showing the return data type to be integer.

The only way I've found to get around this is to remove the decendents code
recompile then added the code back. Why do we have to do this?

Greg


Philip Salgannik Posted on 2003-07-24 04:33:36.0Z
Newsgroups: sybase.public.powerbuilder.objects
From: "Philip Salgannik" <philemax@comcast.net>
Subject: Re: Problem recompiling after changing nvo method's return value datatype
Date: Thu, 24 Jul 2003 00:33:36 -0400
Lines: 25
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_OS3O43ZUDHA.349@forums-2-dub>
References: <364_706A750A6A3B2EEF007C6DA585256D6C.007C6DD885256D6C@webforums>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums-2-dub.sybase.com
Xref: forums-1-dub sybase.public.powerbuilder.objects:7501
Article PK: 734789

Because you "overridden the method"


pbm_thisusuallydoesnothelp:-))
Philip Salgannik

<greg> wrote in message
news:706A750A6A3B2EEF007C6DA585256D6C.007C6DD885256D6C@webforums...
> I'm in the process of changing a lot of code that made reference to
Integer
> data type. I'm changing from Integer to Long. When I do this on nvo's
I'm
> getting compile errors indicating differences in parameter types.
>
> I believe it has to do with decendent nvo's that have overridden the
method
> that are still showing the return data type to be integer.
>
> The only way I've found to get around this is to remove the decendents
code
> recompile then added the code back. Why do we have to do this?
>
> Greg