Skip to main content
Skip table of contents

f$Word: Parameter


f$Word: Parameter

Set a parameter for the next text component to be inserted. An ePOS parameter is not substituted directly but the description is received. This term does not have to resemble an ePOS parameter in this function.

If several calls for the same parameter are conducted the value of the last call will be used.

Parameter names resembling a parameter in a parameter group ( PGName.Paraname) do not need to be set with this function. The DocVariable updating will read it automatically.

The transferred value is always transferred as a string. If a numeric value is to be set, it might have to be converted for example by using f$FormatZahl .

Syntax:

Status = f$Word('Parameter','Parameter name','Parameter value')

 

Argument

Type

Meaning

 

Parameter

String

Keyword

 

Parameter name

String

Name of the DocVariable in the document to be substituted

 

Parameter value

String

Text to be inserted to the document

Result:

Integer

0: Command successfully executed

-1: No active document

Example:

Status = f$Word('Parameter','Generator',Employee.Last name)

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.