Difference between revisions of "ObjectType:stringptr"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{ObjectType-Vitals|stringptr|[[LavishScript]]|[[ObjectType:string|string]]|the stored text|none|no|const char *}} | ||
+ | |||
== Description == | == Description == | ||
− | A [[ | + | A [[ObjectType:stringptr|stringptr]] is actually the same as [[ObjectType:string|string]], but has an Address member. There is no particular reason to use this type instead of string. |
== Members == | == Members == | ||
− | * [[ | + | * [[ObjectType:int64|int64]] '''Address''': The memory address of the actual text |
== Methods == | == Methods == | ||
''(none)'' | ''(none)'' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Examples == | == Examples == | ||
===Display a string pointers address=== | ===Display a string pointers address=== | ||
*echo Memory Address: ${Point1.Address} | *echo Memory Address: ${Point1.Address} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== See Also == | == See Also == | ||
− | + | {{LavishScript:ObjectType}} | |
− | |||
− | |||
− |
Latest revision as of 16:08, 8 July 2018
stringptr | |
Defined By | LavishScript |
Inherits | string |
Reduces To | the stored text |
Variable Object Type | none |
Uses Sub-Types | no |
C/C++ Type | const char * |
Contents
Description
A stringptr is actually the same as string, but has an Address member. There is no particular reason to use this type instead of string.
Members
- int64 Address: The memory address of the actual text
Methods
(none)
Examples
Display a string 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