Hi Chris,
Thank you for location bug.
Change row in method Put() of class cLargeArrayMJ from:
REPLACE ValueStored WITH txValue, ValueType WITH lcType
to:
REPLACE ValueStore WITH txValue, ValueType WITH lcType
MartinJ
>I'm impressed with the implementation, and thank you for taking the time to develop it. However, using this simple block of code :
>
>SET CLASSLIB TO LargeArray
>SET PROCEDURE TO LargeArrayMJ
>CLEAR
>loBeziers = CREATEOBJECT( 'cLargeArrayMJ', 3 )
>WITH loBeziers
> .Put( 1, 1, 1, 1 )
> ?.Get( 1, 1, 1 )
> .Put( 2, 1, 1, 1 )
> ?.Get( 1, 1, 1 )
>ENDWITH
>RELEASE loBeziers
>RETURN
>
>I'm putting 1 in [1,1,1] then displaying it.
>Then I'm putting 2 in [1,1,1] and displaying it.
>It stays a 1... There loBeziers.nError is 12 after the second .Put().
>
>Took a bit of fumbling with my program to figure out what was going on. Using VFP 7 at the moment. Any ideas ?