GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Sixteen — Application (continued)
Overview
The GetPreferenceFile function returns the filename and path for the settings file. Note that the setting files can be a template in the application executable folder or located in the users application data area.
Syntax/Parameters
Syntax
string = GetPreferenceFile ( );
Parameters
(none)
Return Value
A string containing the filename and path or empty on failure. Use the GetLastError to retrieve a formatted error code. The GetLastError function can also be used to get a flag indicating TRUE if the file is from the template area.
Remarks
Applications should refrain from treating the returned file as an INI file. The application loads and saves to this file on a selective basis. Changing the content of the file while the application is running will not result in a setting being changed. Further, if the settings are saved by the user, the changes added will be overwritten.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.