Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter SixFile Functions (continued)

FileTypeStringToCode Function

Overview

The FileTypeStringToCode function converts a file code string into a file type code.

Syntax/Parameters

Syntax

dword = FileTypeStringToCode ( string code );

Parameters

code

A string specifying a file code, such as “FT_HTML”.

Return Value

Returns a dword representing the file type or a formatted error code on failure.

Remarks

This function performs a basic translation. Version information is stripped prior to matching for the string type.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic