Difference between revisions of "ObjectType:floatptr"

From Lavish Software Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 +
{{ObjectType-Vitals|floatptr|[[LavishScript]]|[[ObjectType:float|float]]|The string representation of this float, to the nearest hundredth|none|no|float *}}
 +
 
== Description ==
 
== Description ==
A [[DataType:floatptr|floatptr]] is simply a <tt>pointer</tt> to a [[DataType:float|float]].  The type inherits [[DataType:float|float]], and can be used as if it ''were'' a [[DataType:float|float]].
+
A [[ObjectType:floatptr|floatptr]] is simply a <tt>pointer</tt> to a [[ObjectType:float|float]].  The type inherits [[ObjectType:float|float]], and can be used as if it ''were'' a [[ObjectType:float|float]].
  
 
== Members ==
 
== Members ==
* [[DataType:int|int]] '''Address''': The memory address of the actual float
+
* [[ObjectType:int64|int64]] '''Address''': The memory address of the actual float
  
 
== Methods ==
 
== Methods ==
 
''(none)''
 
''(none)''
 
== Inherits ==
 
* [[DataType:float|float]]
 
 
== Returns ==
 
The string representation of this float, to the nearest hundredth
 
  
 
== Examples ==
 
== Examples ==
 
===Display a float pointers address===
 
===Display a float pointers address===
 
*echo Memory Address: ${Point1.Address}
 
*echo Memory Address: ${Point1.Address}
 
== Operates On ==
 
<tt>float *</tt>
 
  
 
== See Also ==
 
== See Also ==
* [[LavishScript:Data Types|Data Types]]
+
{{LavishScript:ObjectType}}
 
 
[[Category:LavishScript]]
 
[[Category:LavishScript Data Types]]
 

Latest revision as of 15:55, 8 July 2018

Object Type Vitals
floatptr
Defined By LavishScript
Inherits float
Reduces To The string representation of this float, to the nearest hundredth
Variable Object Type none
Uses Sub-Types no
C/C++ Type float *

Description

A floatptr is simply a pointer to a float. The type inherits float, and can be used as if it were a float.

Members

  • int64 Address: The memory address of the actual float

Methods

(none)

Examples

Display a float pointers address

  • echo Memory Address: ${Point1.Address}

See Also

LavishScript Object Types