FreeBasic Bare Bones: Difference between revisions

m
Fixed another mistake with long length
[unchecked revision][unchecked revision]
m (Fixed mistake: a long does not hold 4 bytes. It holds 8 bytes.)
m (Fixed another mistake with long length)
Line 26:
Dim mypointer As Long Ptr
</source>
This one points to the first of 48 bytes of memory, which together form the number.
 
You can not use pointers straight away. Consider sending a letter with no address on it will not do any good. So we must first put an address in there. That leads to the question: how do we get an address. Some things have fixed addresses, like the video card.
Anonymous user