Difference between revisions of "ObjectType:intptr"

From Lavish Software Wiki
Jump to navigation Jump to search
m (Lax moved page DataType:intptr to ObjectType:intptr)
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:int|int]] '''Address''': The memory address of the actual integer
  
 
== Methods ==
 
== Methods ==
Line 9: Line 11:
  
 
== Inherits ==
 
== Inherits ==
* [[DataType:int|int]]
+
* [[ObjectType:int|int]]
  
 
== Returns ==
 
== Returns ==
Line 22: Line 24:
  
 
== See Also ==
 
== See Also ==
* [[LavishScript:Data Types|Data Types]]
+
{{LavishScript:ObjectType}}
 
 
[[Category:LavishScript]]
 
[[Category:LavishScript Data Types]]
 

Revision as of 15:59, 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

  • int Address: The memory address of the actual integer

Methods

(none)

Inherits

Returns

The string representation of this int

Examples

Display a integer pointers address

  • echo Memory Address: ${Point1.Address}

Operates On

int *

See Also

LavishScript Object Types