GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Fourteen — Project Functions (continued)
ProjectGetEntryAsNumber Function
Overview
The ProjectGetEntryAsNumber function will retrieve a specific data element from a project entry as a numeric value.
Syntax/Parameters
Syntax
mixed = ProjectGetEntryAsNumber ( int index, int item );
Parameters
index
An int that specifies the zero-based position of the entry within the project.
item
An int specifying the item to retrieve.
Return Value
Returns a dword or a qword containing the specified item or a formatted error code on failure. Use the GetLastError function to retrieve error information.
Remarks
Entry properties are mixed as strings and numeric data. Those items that are strings and cannot be converted will cause a syntax error. The GetLastError function should be used to differentiate between an empty return value caused by an empty item or by an error (since bits may interfere with error codes).
The items are as follows (note that certain incompatible string items (see the ProjectGetEntryAsString function) are removed):
Term | Ordinal | Description | ||||
File: | ||||||
PROJECT_ENTRY_MOD_TIME | 1 | Time the file was last modified (returned as ISO-8601) | ||||
PROJECT_ENTRY_SIZE | 2 | Size of the file | ||||
PROJECT_ENTRY_F_TYPE | 3 | File Type (FT_) | ||||
PROJECT_ENTRY_FLAGS | 4 | Flags | ||||
Publishing: | ||||||
PROJECT_ENTRY_MEMBER_FLAGS | 10 | Membership Flags | ||||
FTP Server/Transfer Information: | ||||||
PROJECT_ENTRY_LU_SIZE | 12 | Last Upload Size | ||||
PROJECT_ENTRY_LU_MOD_TIME | 13 | Last Upload Modified Time (returned as ISO-8601) | ||||
PROJECT_ENTRY_LU_SERVER_TIME | 14 | File Time on File Server (returned as ISO-8601) |
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
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.