Difference between revisions of "ObjectType:byteptr"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{ObjectType-Vitals|byteptr|[[LavishScript]]|[[ObjectType:byte|byte]]|The string represenation of this byte|none|no|unsigned char *}} | ||
+ | |||
== Description == | == Description == | ||
− | A [[ | + | A [[ObjectType:byteptr|byteptr]] is simply a <tt>pointer</tt> to a [[ObjectType:byte|byte]]. The type inherits [[ObjectType:byte|byte]], and can be used as if it ''were'' a [[ObjectType:byte|byte]]. |
== Members == | == Members == | ||
− | * [[ | + | * [[ObjectType:int64|int64]] '''Address''': The memory address of the actual byte |
== Methods == | == Methods == | ||
''(none)'' | ''(none)'' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== Examples == | == Examples == | ||
===Display a byte pointers address=== | ===Display a byte pointers address=== | ||
*echo Memory Address: ${Point1.Address} | *echo Memory Address: ${Point1.Address} | ||
− | |||
− | |||
− | |||
== See Also == | == See Also == | ||
− | + | {{LavishScript:ObjectType}} | |
− | |||
− | |||
− |
Latest revision as of 15:53, 8 July 2018
byteptr | |
Defined By | LavishScript |
Inherits | byte |
Reduces To | The string represenation of this byte |
Variable Object Type | none |
Uses Sub-Types | no |
C/C++ Type | unsigned char * |
Contents
Description
A byteptr is simply a pointer to a byte. The type inherits byte, and can be used as if it were a byte.
Members
- int64 Address: The memory address of the actual byte
Methods
(none)
Examples
Display a byte 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