Difference between revisions of "ObjectType:intptr"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 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 [[DataType:intptr|intptr]] is simply a <tt>pointer</tt> to an [[DataType:int|int]].  The type inherits [[DataType:int|int]], and can be used as if it ''were'' an [[DataType:int|int]].
+
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 ==
* [[DataType:int|int]] '''Address''': The memory address of the actual integer
+
* [[ObjectType:int64|int64]] '''Address''': The memory address of the actual integer
  
 
== Methods ==
 
== Methods ==
 
''(none)''
 
''(none)''
 
== Inherits ==
 
* [[DataType:int|int]]
 
 
== Returns ==
 
The string representation of this int
 
  
 
== Examples ==
 
== Examples ==
 +
===Display a integer pointers address===
 +
*echo Memory Address: ${Point1.Address}
  
 
== See Also ==
 
== See Also ==
* [[LavishScript:Data Types|Data Types]]
+
{{LavishScript:ObjectType}}
 
 
[[Category:LavishScript]]
 
[[Category:LavishScript Data Types]]
 

Latest revision as of 16:02, 8 July 2018

Object Type Vitals
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 *

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