API:Boolean

From STNE Wiki

Revision as of 22:26, 3 May 2020 by Jacksfh (Talk | contribs)
Jump to: navigation, search
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