|
|
| IntPTR | ||
| IntegerPointer = IntPTR(Pointer) | ||
| Parameters: Pointer = The Pointer Data Type you wish to recast |
||
| Returns: IntegerPointer = Returns the recast input value as a new pointer |
||
IntPTR will explicitly recast the supplied pointer to that of a Integer 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 | FloatPTR | Int | Pointer | Types | WordPTR : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |