formatScript(rawScript,engine,returnVars)

An aid to formulate the final script to be uploaded.

Function only - no corresponding object.


Syntax

o_formatScript(rawScript,engine,returnVars)
rawScript: Text array - the script itself
engine: Text - the name of the script engine
returnVars: Text - comma-delimited list of variables to be returned
return: array Text - the full script

Usage

Used by the script object to formulate the final script to be uploaded to the server. Adds the appropriate shebang and returnToVEE lines.

Note that this script is NOT a VEE script so the syntax requirements must follow the language in which the script is written. Since editing in the script object is highly limited, it is recommended that for anything more than very simple scripts editing be done in a proper editor and then copied into the script object.

Location

menu: none

library: scriptLib

Example

Notes

This object never needs to be run but rather is used internally. However it may also be useful when manually creating scripts.

Reference

Dependencies

This function is implemented with a Python script called via scriptPro.

Supported On 

VEE 7.0+, Windows 7+

See Also


© 2015-2025. All Rights Reserved. Stan Bischof (stan@worldbadminton.com). Last updated 03 February 2023 13:04.