fb:porticula NoPaste
Pointer-Test für flo II
Uploader: | Sebastian |
Datum/Zeit: | 18.07.2008 15:49:10 |
DECLARE SUB Flo (Array() As Integer Ptr)
DECLARE SUB Olf ()
Olf
Sleep
End
SUB Olf ()
Dim FlosPointer(1 to 4) As Integer Ptr
Dim i As Integer
For i = 1 to 4
FlosPointer(i) = ALLOCATE(SizeOf(Integer))
*FlosPointer(i) = (1234*i)
Next i
Flo FlosPointer()
End Sub
SUB Flo (Array() As Integer Ptr)
Dim i As Integer
For i = LBound(Array) To Ubound(Array)
Print "Pointer=" & Array(i) & " => Wert=" & *Array(i)
Next i
End Sub