fn: exprtk.add_package
[contents]

Contents

Syntax

The syntax for exprtk.add_package calls is:

f++:  
exprtk.add_package(params)

n++:  
@exprtk.add_package(params)

Description

The exprtk.add_package function is for adding packages to the ExprTk symbol table, it takes a non-zero number of string parameters that should be any of the following:

  • basicio_package
  • fileio_package
  • vectorops_package

f++ example

Example of exprtk.add_package being used with f++:

exprtk.add_package("basicio_package", 
                   "fileio_package")

n++ example

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

@exprtk.add_package("basicio_package", 
                    "fileio_package")