Skip to main content
Skip table of contents

f$CodeExecute (f$FormelAusfuehren)


f$CodeExecute (f$FormelAusfuehren)

Execute one or more ePOS instructions. If multiple instructions are to be executed, they must each end with a semicolon (;). The instructions may be in different lines and can also be written into one line. If an error occurs while executing instructions, a corresponding error status is returned though the execution of the rule-based controls is not interrupted.

Syntax:

Status = f$CodeExecute ( Text )

 

Argument

Type

Meaning

 

Text

String

The ePOS instructions to be executed

Result:

Integer

0 – if the instructions could be successfully executed, otherwise an error status. You can read up on the meaning of these statuses in the file at ...\ePOS\Prog\etepos\language\exec.txt.

Examples:

Text = 'Area = Width * Height;'
Text = Text + NewLine + 'Price = Area * pricepersqmm'
Status = f$CodeExecute ( Text )

JavaScript errors detected

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

If this problem persists, please contact our support.