Version 0.60.0

run

Executes a package immediately.

Signatures

  •   run p

Details

The run command is used to explicitly trigger the execution of a package. This command ensures that the package is executed immediately, regardless of whether any open or public values have been accessed. It is particularly useful when you want to force the execution of a package to apply changes or updates to its parameters.

When a package is run, all operations defined within the package script are executed, and any changes to open or public parameters are applied.

Example

 #import("mypackage.sps")
 mypackage::param = 20
 run mypackage
 // The mypackage is now executed, and changes to param are applied.
 

Note

Use the run command when you need to ensure that a package is executed immediately, especially after modifying parameters.

Parameters

p

The identifier of the package to be executed.

See also

🗙

Search results for