API:Boolean
From STNE Wiki
(Difference between revisions)
m |
|||
Line 1: | Line 1: | ||
{{apiMenu}} | {{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. |
With Boolean there are only two possibilities - {{code|True}} or {{code|False}} (colloquially 0 or 1). | With Boolean there are only two possibilities - {{code|True}} or {{code|False}} (colloquially 0 or 1). |
Latest revision as of 08:27, 4 May 2020
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 |