param_get()

Retrieves a global or local parameter from the PlanetCNC application's parameter storage.

Syntax

param_get(name)

Parameters

Parameter Type Description
name String The name of the parameter to retrieve.

Return Value

Examples

Retrieve a parameter named “_current_tool”

param_get("_current_tool");  // returns the value of "_current_tool"

Retrieve a parameter named “_current_toolname”

param_get("_current_toolname");  // returns the string value of "_current_toolname"

See also

param_get
param_set
param_remove
param_persistent