API:Boolean
From STNE Wiki
(Difference between revisions)
Jacksfh (Talk | contribs)
(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...")
Newer edit →
(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...")
Newer edit →
Revision as of 09:49, 2 May 2020
Main | Syntax | Operators | Interfaces | FAQ | 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 |