OPENworkshop Methods
The ability to write methods, and to connect to methods from OPENworkshop classes, is the key to the flexibility and productivity associated with working in OPENworkshop.
Methods may be written in the Script-IV or Thoroughbred Basic languages, but Script-IV should be used whenever possible. The Script-IV environment automates many of the processes necessary for a reliable and consistent application.
Methods may be initiated through a number of different routes. Methods can be connected from a menu, screen, or view. Methods can be passed parameters and messages. These are made available to the method in string arrays, described in the String Arrays section of this manual. Methods written in Script-IV will automatically have access to these arrays. Methods written in Thoroughbred Basic must declare them.
Methods can connect to all OPENworkshop classes and to other methods.
Methods can return information to their caller. Most frequently this is accomplished using method return directives, but in some cases, information may also be returned through the string arrays. Methods may also communicate information through global variables.
For information about method creation see the Creating Script Methods section later in this section.

In this chapter
Section titled “In this chapter”- Types of Methods
- Creating Script Methods
- Data Resources in Script-IV Methods
- Procedures Section
- Types of Scripts
- Script Execution Environment
- UPDATE Command
- Creating Thoroughbred Basic Methods
From the OPENworkshop Reference, version 8.9.1. Open this page in the PDF