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.

Re-Dimensioning Array Object

2 posts in Objects Last posting was on 2006-07-31 06:39:39.0Z
John Smith Posted on 2006-07-31 06:29:10.0Z
Sender: 2f0d.44cda2a4.1804289383@sybase.com
From: John Smith
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re-Dimensioning Array Object
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <44cda336.2f12.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 30 Jul 2006 23:29:10 -0700
X-Trace: forums-1-dub 1154327350 10.22.241.41 (30 Jul 2006 23:29:10 -0700)
X-Original-Trace: 30 Jul 2006 23:29:10 -0700, 10.22.241.41
Lines: 12
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8986
Article PK: 736183

Dear All,

I am using dynamic array in my program. I want to
reinitialize array when specific condition meets. In VB we
have redim, is it possible to do with pb..? I want to set
its upperbound to 0.

Thanks in advance for any help,

Regards,

John Smith


Bruce Armstrong [TeamSybase] Posted on 2006-07-31 06:39:39.0Z
From: "Bruce Armstrong [TeamSybase]" <NOCANSPAMbruce.armstrong@teamsybase.com>
Newsgroups: sybase.public.powerbuilder.objects
Subject: Re: Re-Dimensioning Array Object
Organization: TeamSybase
Reply-To: NOCANSPAMbruce.armstrong@teamsybase.com
Message-ID: <8r8rc29p57c5vsd0k6nogusehiarug16ne@4ax.com>
References: <44cda336.2f12.1681692777@sybase.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: 68-190-226-38.static.lsan.ca.charter.com
X-Original-Trace: 30 Jul 2006 23:31:25 -0700, 68-190-226-38.static.lsan.ca.charter.com
Lines: 19
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 30 Jul 2006 23:31:26 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 30 Jul 2006 23:39:39 -0700
X-Trace: forums-1-dub 1154327979 10.22.108.75 (30 Jul 2006 23:39:39 -0700)
X-Original-Trace: 30 Jul 2006 23:39:39 -0700, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.powerbuilder.objects:8987
Article PK: 736184

You can declare a local non-intialized array and then set the value of
the array you want to clear with the local non-initialized one.

On 30 Jul 2006 23:29:10 -0700, John Smith wrote:

>Dear All,
>
>I am using dynamic array in my program. I want to
>reinitialize array when specific condition meets. In VB we
>have redim, is it possible to do with pb..? I want to set
>its upperbound to 0.
>
>Thanks in advance for any help,
>
>Regards,
>
>John Smith