I use an unbounded String array in my code. Normally, It works fine, but I got
this "array boundary exceeded" error when the code put big amount of data (like
40,000) to this array? So I'd like to know how much data PowerBuilder Array can
handle.
Thanks very much.
Connie
---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp
/ck
"Bug" <fent...@hotmail.com> wrote in message
news:3XV5QJU...@forums.sybase.com...
> Theoretically, it's only limited to the amount of memory available on your
> machine. Are you, perhaps, using an INT variable as your index? Once an
INT
> passes 32,767 it flops back to -32,768 and would give you this error. Try
a
> LONG variable instead.
>
> HTH
>
>
> "Connie Wang" <conni...@cingular.com> wrote in message
> news:Aea7YsT...@forums.sybase.com...
From the PB* documentation: Each dimension of an array can have
2,147,483,647 bytes of elements.
How are you populating this array. There is a limit when working with dw
where you can only manipulate 32k elements but I think you get a different
error.
/ck
"Connie Wang" <conni...@cingular.com> wrote in message
news:Aea7YsT...@forums.sybase.com...
HTH
"Connie Wang" <conni...@cingular.com> wrote in message
news:Aea7YsT...@forums.sybase.com...
It is an "unbounded" array isn't it?
HTH
-EGM
Bug <fent...@hotmail.com> wrote in message
news:3XV5QJU...@forums.sybase.com...
"Chris Keating" <nospam_...@iAnywhere.com> wrote in message
news:g1kA1VU...@forums.sybase.com...
Maybe a work around (a good day for suggesting this <g>) is to use an
external datawindow, and set the datawindow to store data to disk (you
don't mention version, but there was a bug that storage to disk didn't
work in early PB6 versions). May be a little slower... then again, it
may be faster than the stopped version <g>. The catch is that you'll
have to define the maximum size of your string.
Good luck,
Terry [TeamSybase] and Sequel the techno-kitten
On Mon, 14 Jan 2002 15:36:08 -0500, "Connie Wang"
<conni...@cingular.com> wrote:
>How much records can an unbounded string array handle in PowerBuilder?
>
>I use an unbounded String array in my code. Normally, It works fine, but I got
>this "array boundary exceeded" error when the code put big amount of data (like
>40,000) to this array? So I'd like to know how much data PowerBuilder Array can
>handle.
Sequel's Sandbox: http://www.techno-kitten.com
Home of PBL Peeper, a PowerBuilder Developer's Toolkit.
Version 2.1.01 now available at the Sandbox
^ ^
o o
=*=