Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #11066 > unrolled thread
| Started by | Clifford Järnry <clifford.jarnry@gmail.com> |
|---|---|
| First post | 2017-10-23 03:22 -0700 |
| Last post | 2017-10-23 05:20 -0700 |
| Articles | 5 — 3 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
ArrayNew(10,40) only generate a 10 by 32 Array Clifford Järnry <clifford.jarnry@gmail.com> - 2017-10-23 03:22 -0700
Re: ArrayNew(10,40) only generate a 10 by 32 Array "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-10-23 13:45 +0200
Re: ArrayNew(10,40) only generate a 10 by 32 Array D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2017-10-23 13:49 +0200
Re: ArrayNew(10,40) only generate a 10 by 32 Array Clifford Järnry <clifford.jarnry@gmail.com> - 2017-10-23 05:20 -0700
Re: ArrayNew(10,40) only generate a 10 by 32 Array Clifford Järnry <clifford.jarnry@gmail.com> - 2017-10-23 05:20 -0700
| From | Clifford Järnry <clifford.jarnry@gmail.com> |
|---|---|
| Date | 2017-10-23 03:22 -0700 |
| Subject | ArrayNew(10,40) only generate a 10 by 32 Array |
| Message-ID | <be818238-eebe-45ec-8d73-65a3f713511d@googlegroups.com> |
Dear memebers,
I just found a problem in my code.
Trying to create a new global array:
Global aMyArray as Array
then in inside another function:
aMyArray := {}
aMyArray := ArrayNew(10,40)
Using the Debugger it only shows a 10 x 32 array.
The appilcation do not have more than a 10 x 32 elements either.
Is there a limit or away around the problem?
Thank's in advance
Clifford
[toc] | [next] | [standalone]
| From | "Wolfgang Riedmann" <wriedmann@gmail.com> |
|---|---|
| Date | 2017-10-23 13:45 +0200 |
| Message-ID | <f5633nFqec7U1@mid.individual.net> |
| In reply to | #11066 |
Hi Clifford,
> I just found a problem in my code.
>
> Trying to create a new global array:
>
> Global aMyArray as Array
>
> then in inside another function:
>
> aMyArray := {}
> aMyArray := ArrayNew(10,40)
>
>
> Using the Debugger it only shows a 10 x 32 array.
> The appilcation do not have more than a 10 x 32 elements either.
>
> Is there a limit or away around the problem?
this is a setting of the debugger to not show more than 32 members.
You can change it at Tools - Options - Debugger - Array Limit High.
Wolfgang
--
[toc] | [prev] | [next] | [standalone]
| From | D.J.W. van Kooten <vankooten@removethis.ic2.com> |
|---|---|
| Date | 2017-10-23 13:49 +0200 |
| Message-ID | <1jlrucdbeor8jeu5i5hpcg8ok1f3r3ph5a@4ax.com> |
| In reply to | #11066 |
Replying on message of Mon, 23 Oct 2017 03:22:17 -0700 (PDT) from
Clifford Järnry:
Hello Clifford,
>Global aMyArray as Array
>
>then in inside another function:
>
>aMyArray := {}
>aMyArray := ArrayNew(10,40)
>
>
>Using the Debugger it only shows a 10 x 32 array.
>The appilcation do not have more than a 10 x 32 elements either.
>
I can't reproduce your problem. I've put a small testbutton a window.
In the postinit I declare the global array.
The button code is :
METHOD TestArray( ) CLASS TestWindow
aMyArray := {}
aMyArray := ArrayNew(10,40)
and the debugger shows a 10 x 40 array which I can fill and afterwards
read as well. The line aMyArray := {} isn't needed but doesn't give a
problem either I think.
What happens if you try this on a clean new program?
Dick
[toc] | [prev] | [next] | [standalone]
| From | Clifford Järnry <clifford.jarnry@gmail.com> |
|---|---|
| Date | 2017-10-23 05:20 -0700 |
| Message-ID | <d511520f-6200-4528-8ebd-a8c7e8942e5f@googlegroups.com> |
| In reply to | #11066 |
Den måndag 23 oktober 2017 kl. 12:22:18 UTC+2 skrev Clifford Järnry:
> Dear memebers,
>
> I just found a problem in my code.
>
> Trying to create a new global array:
>
> Global aMyArray as Array
>
> then in inside another function:
>
> aMyArray := {}
> aMyArray := ArrayNew(10,40)
>
>
> Using the Debugger it only shows a 10 x 32 array.
> The appilcation do not have more than a 10 x 32 elements either.
>
> Is there a limit or away around the problem?
>
> Thank's in advance
>
> Clifford
[toc] | [prev] | [next] | [standalone]
| From | Clifford Järnry <clifford.jarnry@gmail.com> |
|---|---|
| Date | 2017-10-23 05:20 -0700 |
| Message-ID | <0f37210f-2796-4390-9126-17911dbb3ebb@googlegroups.com> |
| In reply to | #11066 |
Den måndag 23 oktober 2017 kl. 12:22:18 UTC+2 skrev Clifford Järnry:
> Dear memebers,
>
> I just found a problem in my code.
>
> Trying to create a new global array:
>
> Global aMyArray as Array
>
> then in inside another function:
>
> aMyArray := {}
> aMyArray := ArrayNew(10,40)
>
>
> Using the Debugger it only shows a 10 x 32 array.
> The appilcation do not have more than a 10 x 32 elements either.
>
> Is there a limit or away around the problem?
>
> Thank's in advance
>
> Clifford
Thank You! Now I can see all 40.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web