GetOneParmText

(Engine-Level Function)

Description: Returns the text for one parameter of a function.
Warning: This function should be used only by advanced programmers.
Returns: Text
Usage: Script Only.
Function Groups: Compilation and On-Line Modifications,  Advanced Module
Related to: AdjustCode | GetModuleText | GetParmText | GetStateText | GetTransitText | GetVariableText | SetModuleText | SetOneParmText | SetParmText | SetStateText | SetTransitText | SetVariableText | TextOffset | TextSize
Format: GetOneParmText(Function, Parameter[, Type])
Parameters:  
Function
Required. Any expression for the code value of the function.
Parameter
Required. Any numeric expression indicating which parameter's text to return.
Type
Optional numeric expression. Controls what will be returned by the function according to the following table:

Type

Description

0

default. Return the text for the parameter.

1

Return the offset in the file for the start of the parameter.

2

Return the size (number of bytes) of the parameter.