|
FloatPTR | ||
FloatPointer = FloatPTR(Pointer) | ||
Parameters: Pointer = The Pointer Data Type you wish to recast |
||
Returns: FloatPointer = Returns the recast input value as a new pointer |
||
FloatPTR will explicitly recast the supplied pointer to a Float Pointer. FACTS: * Typed pointers like Byte/Word/Integer and Float can only read/write values of matching data type. * Additions / Subtraction to typed pointers with be automatically scale to the pointers data width. Mini Tutorial: This Example declares an generic pointer, then dynamically recasts it to read different data types from memory.
This example would output.
|
Related Info: | BytePTR | Dim | Float | Int | IntPTR | Pointer | Types | WordPTR : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |