PA_ResizeArray

View: New views
2 Messages — Rating Filter:   Alert me  

PA_ResizeArray

by Frank Stock :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

4D Version v11 SQL on Macintosh Intel 10.5.1.
Plugin with XCODE 3.0 in C

When using PA_ResizeArray with a longint, resize doesn't always work.

code 4D:
ARRAY LONGINT(bnr;0)

when resizing with PA_ResizeArray, it doesn't work. However changing  
the name of array to 'bonnr', will do the resize.
Could it be a bug in PA_ResizeArray?


Making the array large enough in 4D, it will work!

Greetings,
Frank Stock

**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/     
   

4D v11 SQL - A 21st Century database for 21st Century developers
http://www.4D.com/products/new.html

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: PA_ResizeArray

by Rob Laveaux :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 14 jan 2008, at 21:44, Frank Stock wrote:

> when resizing with PA_ResizeArray, it doesn't work. However changing  
> the name of array to 'bonnr', will do the resize.
> Could it be a bug in PA_ResizeArray?


Hi Frank,

Without seeing your code, it's hard to tell where the bug is.
Are you using PA_SetVariable after modifying the variable?

- Rob Laveaux

--------------------------------------------------------
Pluggers Software
Bleriotlaan 62
24978 BM  Den Haag
The Netherlands

Email: rob.laveaux@...
Website: http://www.pluggers.nl

--------------------------------------------------------


**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/     
   

4D v11 SQL - A 21st Century database for 21st Century developers
http://www.4D.com/products/new.html

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************