Using Subroutines in PAC Control

Subroutines are an ideal way to re-use chart logic within the same strategy, or between strategies.

Using Subroutines in PAC Control

Curriculum

About this course

About this course

Subroutines can save you time and effort whenever you have a group of commands that are repeated in a strategy, or used in more than one strategy. A subroutine is a custom command that represents a series of commands (logic).

Topics include: 

  • The differences between subroutines and charts
  • Passed-in and local parameters
  • Creating a subroutine
  • Including a subroutine in a strategy
  • Calling a subroutine in a strategy
  • Debugging a subroutine
  • Tips and resources

Course Duration: ~30 min