Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter Twenty-twoConversion Functions (continued)

TranslateGetPreProcessHook Function

Overview

The TranslateGetPreProcessHook function sets a hook for pre processing on an import function.

Syntax/Parameters

Syntax

string = TranslateGetPreProcessHook ( );

Parameters

(none)

 

Return Value

A string array containing script hook parameters or an empty array on failure. Use the GetLastErrorMessage and GetLastError functions to retrieve addition information.

Remarks

If a hook has not been set, the function will return an error. The array key names are as follows:

  Key Name   Description  
  RelatedCode   Not used for translate hooks.  
  RelatedID   Not used for translate hooks.  
  Flags   A string if the form of a 32-bit hexadecimal representing hook status. See below.  
  ScriptName   Filename and path of the script.  
  HookFunction   Function name servicing the hook.  
  ScriptFileTime   A string if the form of a 64-bit hexadecimal representing the file time.  

 

 

Related Functions

Platform Support

Go13, GoFiler Complete, GoFiler Corporate, GoFiler, GoXBRL