Given:
-- $Return_ptr is a pointer to a longint array
--- Array has 2 elements values of (4, 2)
-- $Column1 is a pointer to a different array which has 10 elements
--- all elements are populated
-- $Item is a longint value as index to the array
-- $Result is a longint variable
(spacing added for clarity)
$Result:= $Column1{ $Return_ptr{$Item} }
4D throws an Error 52
$Return_ptr{$Item} = 4
$Column1 {4} = 100
inserting parenthesis around ( $Return_ptr{$Item} ) does not resolve
the problem.
Any idea why 4D is choking on this line of code??
Thanks
Chip
---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************