Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter ThreeData Types and Operators

Chapter Contents

3.1 Variables and Symbols
3.1.1 Variables
3.1.2 Declaration
3.1.3 Introduction to Data Types
3.2 Variable Scope
3.2.1 Overview
3.2.2 Global
3.3 Data Types
3.3.1 Overview
3.3.2 ‘int’ Integer (32-bit signed)
3.3.3 ‘short’ Integer (16-bit signed)
3.3.4 ‘long’ Integer (64-bit signed)
3.3.5 ‘float’ Float (64-bit)
3.3.6 ‘boolean’ Boolean 
3.3.7 ‘char’ Character (8-bit)
3.3.8 ‘byte’ Byte (8-bit)
3.3.9 ‘wchar’ Wide Character (16-bit)
3.3.10 ‘string’ String (8-bit characters)
3.3.11 ‘wstring’ Wide Character String Array (16-bit characters)
3.3.12 ‘word’ Unsigned (16-bit)
3.3.13 ‘dword’ Unsigned (32-bit)
3.3.14 ‘qword’ Unsigned (64-bit)
3.3.15 ‘handle’ General Handle (32-bit)
3.3.16 ‘void’ Empty Declaration
3.4 Integers Versus Floats
3.4.1 Overview
3.5 Strings Versus Characters
3.6 Dimensional Data
3.6.1 What is Dimensional Data
3.6.2 Allocation
3.6.4 Garbage Collection
3.6.5 Array Examples
3.6.3 Key Names
3.7 Contiguous Data
3.7.1 Binary Data
3.7.2 Contiguous Memory
3.7.3 Scattered Data
3.8 Predefined Data
3.8.1 Overview
3.8.2 SDK Definitions
3.9 Literal Numeric Data
3.9.1 Types
3.10 Literal String Data
3.10.1 Types
3.10.2 String Constants
3.10.3 Line Endings
3.11 Operators
3.11.1 Overview
3.11.2 Boolean in Expressions
3.11.3 Operator Types
3.11.4 Data Types
3.12 Operator Precedence
3.12.1 What Happens First
3.12.2 A Note About Interpreted Versus Compiled
3.13 Assignment
3.13.1 Setting a Variable
3.13.2 Assignment Types
3.14 Math Operators
3.15 Bitwise Math Operators
3.16 Boolean Logical Operators
3.17 Comparison Operators
3.18 Unary Operators
3.18.1 The ‘++’ and ‘--’ Operators
3.18.2 The ‘~’, ‘!’ and ‘-’ Operators
3.19 Type Matching
3.19.1 Overview
3.19.2 Mixing Strings and Numeric Types
3.20 Handles
3.20.1 Introduction to Handles
3.20.2 External Handles
3.21 Handle Functions
3.21.1 Overview
3.21.2 Window Handles
3.21.3 Generic Functions
CloseHandle Function
EnumerateHandles Function
GetHandleCount Function
GetHandleType Function
GetName Function
MakeHandle Function
IsValidHandle Function
3.22 Variable Functions
3.22.1 Overview
3.22.2 Key Names
3.22.3 Binary Data
3.22.4 Cluster Data
3.22.5 Working Pool
3.22.6 Functions
ArrayAddKeyName Function
ArrayAddKeyNames Function
ArrayClear Function
ArrayFindKeyName Function
ArrayGetAxisDepth Function
ArrayGetAxisSize Function
ArrayGetKeyName Function
ArrayGetKeys Function
ArrayHasKeyName Function
ArrayIsKeyName Function
ArrayIsValidKeyName Function
ArrayToCluster Function
ClusterToArray Function
GetVariablePointer Function
GetVariableSize Function
GetWorkingPoolSize Function
IsNullString Function
ReleaseWorkingPoolSpace Function