Isn't it possible to get a pointer to a long variable (or anything other than a structure)???
__ i know that i know nothing __
__ those who swim with the stream will never reach the source __
(K7 XP @ 2.4 GHz | WinXP SP1 | 1 GB RAM | ATI Radeon 7500 | PB 3.81 [Win|Linux])
Isn't it possible to get a pointer to a long variable (or anything other than a structure)???
[/quote]
__ i know that i know nothing __
__ those who swim with the stream will never reach the source __
(K7 XP @ 2.4 GHz | WinXP SP1 | 1 GB RAM | ATI Radeon 7500 | PB 3.81 [Win|Linux])
Sensphere wrote:Ok, this is working :D - but isn't it a bit weird - because a pointer to a long value shouldn't be a structure?!
PureBasic's pointer notation is simpler than e.g. C, so there is no way to access both the pointer and the data within for simple data types without making it point to a structure which contains the simple data type.
Or use Peek and Poke :)
If you paint your butt blue and glue the hole shut you just themed your ass but lost the functionality.
(WinXPhSP3 PB5.20b14)