API:Boolean

From STNE Wiki

Revision as of 08:27, 4 May 2020 by Jacksfh (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Scripting Portal | Contents | API Reference | Index

Boolean is 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