Gary's use of pointers encouraged me to give them a try but
I *thought* I was using it as Gary does. The only diff I can see is he uses :
And I am *trying* As Long Ptr.
The array is Dimmed/filled/assigned okay. What am I doing wrong?
=====================================
Who has a harder fight than he
who is striving to overcome himself.
Thomas a Kempis
=====================================
Code:
... Global Colors&(), Color_Ptr As Long Ptr ' ... Color_Ptr = VarPtr(Colors(0)) '<< is assigned first and appears before next in code ... Colr = Rnd(0, Max_Colors) 'pick a color tmp = @Color_Ptr(Colr) '<< gives 'Missing Declaration Error Color_Ptr ...
Code:
Global tg(), ng() As Byte Global tgptr, ngptr As Byte Ptr
The array is Dimmed/filled/assigned okay. What am I doing wrong?
=====================================
Who has a harder fight than he
who is striving to overcome himself.
Thomas a Kempis
=====================================
Comment