[Gambas-user] [Fwd: Gambas3 Pointers example]

Demosthenes Koptsis demosthenesk at ...626...
Tue Jan 11 17:38:11 CET 2011


In the following example, i get "illegal instruction" at line 9
Print MkPointer$(pPointer)

--------------
' Gambas module file

Public Sub Main()

Dim pPointer As Pointer

pPointer = Alloc(1)

Print MkPointer$(pPointer)

Free(pPointer)

End
--------------


-- 
Regards,
Demosthenes Koptsis.





More information about the User mailing list