Using Legato — PAGE UNDER MAINTENANCE (08/20/2024 - 13:13 EDT)
The Legato Scripting Language and the IDE are included in all installations of GoFiler Complete. You may also download the Legato Interpreter for free as a standalone package below.
This package will allow you to run Legato scripts from a command line. Legato is free for development for personal or non-commercial use. By downloading Legato Basic, you agree to the Terms and Conditions of its use.
Download 32-bit Download 64-bitThis package will allow you to write, debug and run Legato scripts from an IDE. Legato is free for development for personal or non-commercial use. By downloading Legato IDE, you agree to the Terms and Conditions of its use.
Download 32-bit Download 64-bit1.0 Legato Script Language Notes
1.1 Script Engine
– Corrected an issue with the reporting of the number of elements used in string when adding data via direct character addressing (i.e., s1[4] = 'A'). The reported depth of the string was being set to an overallocated value, thus producing the wrong size. This can be seen by looking at the variable in the debugger.
– Corrected an issue with progressively filling a wstring variable character by character where parts of the string would be zeroed.
1.2 Function Improvements and Changes
– Added an optional parameter to the ScanString function to explicitly set the scan mode.
– Added anumeric key index to the SDK for the GetQNameParts function. The defined values are GQNP_PREFIX and GQNP_LOCAL_PART or 0 and 1, respectively.
1.3 New API Functions
– UnicodeToASCII — Convert a string from Unicode to ASCII.
1.4 IDE Improvements
– Added an “Open Include File” item to the code view right-click context menu. Opens the “#include” directive from the selected line in a new window.
– The “Function Select” dialog now autofills the search field with the currently selected text in Text View using CamelCase format.