Difference between revisions of "ObjectType:boolptr"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{ObjectType-Vitals|boolptr|[[LavishScript]]|[[ObjectType:bool|bool]]|'''TRUE''' or '''FALSE'''|none|no|bool *}}
 +
 
== Description ==
 
== Description ==
A [[DataType:boolptr|boolptr]] is simply a <tt>pointer</tt> to a [[DataType:bool|bool]].  The type inherits [[DataType:bool|bool]], and can be used as if it ''were'' a [[DataType:bool|bool]].
+
A [[ObjectType:boolptr|boolptr]] is simply a <tt>pointer</tt> to a [[ObjectType:bool|bool]].  The type inherits [[ObjectType:bool|bool]], and can be used as if it ''were'' a [[ObjectType:bool|bool]].
  
 
== Members ==
 
== Members ==
* [[DataType:int|int]] '''Address''': The memory address of the actual boolean value
+
* [[ObjectType:int64|int64]] '''Address''': The memory address of the actual boolean value
  
 
== Methods ==
 
== Methods ==
 
''(none)''
 
''(none)''
 
== Inherits ==
 
* [[DataType:bool|bool]]
 
 
== Returns ==
 
'''TRUE''' or '''FALSE'''
 
  
 
== Examples ==
 
== Examples ==
 
===Display a boolean pointers memory address===
 
===Display a boolean pointers memory address===
 
echo Memory Address: ${Point1.Address}
 
echo Memory Address: ${Point1.Address}
 
== Operates On ==
 
<tt>bool *</tt>
 
  
 
== See Also ==
 
== See Also ==
* [[LavishScript:Data Types|Data Types]]
+
{{LavishScript:ObjectType}}
 
 
[[Category:LavishScript]]
 
[[Category:LavishScript Data Types]]
 

Latest revision as of 15:54, 8 July 2018

Object Type Vitals
boolptr
Defined By LavishScript
Inherits bool
Reduces To TRUE or FALSE
Variable Object Type none
Uses Sub-Types no
C/C++ Type bool *

Description

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

Members

  • int64 Address: The memory address of the actual boolean value

Methods

(none)

Examples

Display a boolean pointers memory address

echo Memory Address: ${Point1.Address}

See Also

LavishScript Object Types