API:Boolean

From STNE Wiki

(Difference between revisions)
Jump to: navigation, search
(Created page with "{{ScriptingMenu}} Booleanis a variable type. Each variable has a "type", which refers to what kind of data is stored in it. With Boolean there are only two poss...")
Line 1: Line 1:
-
{{ScriptingMenu}}
+
{{apiMenu}}
[[API:Boolean|Boolean]]is a variable type. Each variable has a "type", which refers to what kind of data is stored in it.  
[[API:Boolean|Boolean]]is a variable type. Each variable has a "type", which refers to what kind of data is stored in it.  

Revision as of 22:26, 3 May 2020

Scripting Portal | Contents | API Reference | Index

Booleanis a variable type. Each variable has a "type", which refers to what kind of data is stored in it.

With Boolean there are only two possibilities - True or False (colloquially 0 or 1). If a parameter is expected to be Boolean this means that you simply have to specify 'True' or 'False' (without quotes).


There is also the Boolean structure: https://game.en.stne.net/objectexplorer?p=Boolean

Method Explanation
CompareTo(value AS Object)
FalseString
GetTypeCode()
Parse(s As String) This method converts a string to an integer and returns it.
TrueString
Personal tools