fn: exprtk.file
[contents]

Contents

Syntax

The syntax for exprtk.file calls is:

f++:  
exprtk.file{options}(file-path)

n++:  
@exprtk.file{options}(file-path)

Description

The exprtk.file function is for compiling and evaluating ExprTk code files, it takes a single parameter that should be a file-path to ExprTk code to compile and run. See here for more information about ExprTk.

Options

The following options are available for exprtk.file calls:

option description
!o do not return output
o return output
!round do not round value of ExprTk expression
option description

f++ example

Examples of exprtk.file being used with f++:

exprtk.file("./path.exprtk")

n++ example

Example of exprtk.file being used with n++:

@exprtk.file("./path.exprtk")