Difference between revisions of "ObjectType:intptr"
Jump to navigation
Jump to search
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{ObjectType-Vitals|intptr|[[LavishScript]]|[[ObjectType:int|int]]|The string representation of this int|none|no|int *}} | ||
+ | |||
== Description == | == Description == | ||
− | An [[ | + | An [[ObjectType:intptr|intptr]] is simply a <tt>pointer</tt> to an [[ObjectType:int|int]]. The type inherits [[ObjectType:int|int]], and can be used as if it ''were'' an [[ObjectType:int|int]]. |
== Members == | == Members == | ||
− | * [[ | + | * [[ObjectType:int64|int64]] '''Address''': The memory address of the actual integer |
== Methods == | == Methods == | ||
''(none)'' | ''(none)'' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Examples == | == Examples == | ||
+ | ===Display a integer pointers address=== | ||
+ | *echo Memory Address: ${Point1.Address} | ||
== See Also == | == See Also == | ||
− | + | {{LavishScript:ObjectType}} |
Latest revision as of 16:02, 8 July 2018
intptr | |
Defined By | LavishScript |
Inherits | int |
Reduces To | The string representation of this int |
Variable Object Type | none |
Uses Sub-Types | no |
C/C++ Type | int * |
Contents
Description
An intptr is simply a pointer to an int. The type inherits int, and can be used as if it were an int.
Members
- int64 Address: The memory address of the actual integer
Methods
(none)
Examples
Display a integer pointers address
- echo Memory Address: ${Point1.Address}
See Also
LavishScript Object Types
- Text
- string - mutablestring - unistring
- Numbers
- byte - float - float64 - int - uint - int64
- Boolean (TRUE/FALSE)
- bool
- Pointers
- boolptr - byteptr - floatptr - float64ptr - intptr - uintptr - int64ptr - rgbptr - stringptr
- Containers
- objectcontainer - array - index - collection - queue - stack - set - variablescope
- JSON
- jsonobject - jsonarray - jsonvaluecontainer - jsonvalue
- Iteration
- iterator - jsoniterator
- Date/Time
- time
- File Handling
- filepath - file - filelist - filelistentry
- Tasks
- lavishmachine - Accessed via the Top-Level Object LMAC
- task - tasklibrary - taskmanager - tasktype - taskpulseargs - elmactaskstate