Subroutines

This page is currently incomplete, but you can find information about this topic at the links below:

- degree -- The degree statement tells Panorama that all angles input to and calculated in trigonometric functions are in degrees rather than radians.
- info("parameters") -- The info("parameters") function returns the number of parameters passed to a subroutine.
- localparameters -- The localparameters statement creates one or more local variables and assigns parameter values to them.
- parameter( -- The parameter( function is used to transfer data between a main procedure and a subroutine.
- parameterentity( -- The parameterentity( function returns the entity (field or variable) associated with a subroutine parameter, if any.
- radian -- The radian statement tells Panorama that all angles in trigonometric functions should be calculated using radians rather than degrees.
- return -- The return statement ends a subroutine.
- returnerror -- The returnerror statement passes an error back to the current subroutines calling procedure.
- setparameter -- The setparameter statement is used to transfer data from a subroutine back to the main procedure that called it.

History

Version | Status | Notes
10.0 | Updated | Carried over from Panorama 6.0, with some updates.