Conoscere i simboli presenti nel codice di un programma
Da Gambas-it.org - Wikipedia.
Per conoscere i simboli (ossia il nome delle risorse di Gambas) richiamate nel codice di un programma, è possibile inserire nel medesimo questo codice:
Dim test As Integer Dim p1, p2 As Pointer p1 = Pointer@(Object.Address(Me) + SizeOf(gb.Pointer) * 5) p2 = Pointer@(p1) While Int@(p2 + test) <> 1953719668 If Byte@(p2 + test) == 0 Then Inc test Print Continue Endif Print Chr(Byte@(p2 + test)); Inc test Wend