just a little question. is this how it was supposed to be:
Code: Select all
swap bla, blub 'works
swap(bla, blub) 'doesnt
thanks - hard
Code: Select all
swap bla, blub 'works
swap(bla, blub) 'doesnt
Hard wrote:hi there
just a little question. is this how it was supposed to be:Code: Select all
swap bla, blub 'works
swap(bla, blub) 'doesnt
thanks - hard
Code: Select all
Dim bla as integer = 7
Dim blub as double = 5.0
Print @bla,@blub,bla,blub
Swap bla, blub
Print @bla,@blub,bla,blub
'... etc
Code: Select all
Dim blub As Double = 5.0
blub = *cast(integer ptr, @blub)
print blub
Code: Select all
DIM blub As DOUBLE = 5
blub = *cast(Integer Ptr, @blub)
Print blub '0
Code: Select all
DIM blub As INTEGER = 5
blub = *cast(Integer Ptr, @blub)
Print blub '5
Hard wrote:btw: ...
Code: Select all
Union xx
d As Double
b(0 To 7) As UByte
End Union
Dim blub As xx
blub.d = 5
For i As Integer = 0 To 7
Print Hex(blub.b(i),2);
Next
Print
Sleep
Users browsing this forum: No registered users and 15 guests