What is Commando Script? |
Top Previous Next |
What Commando Script Is
Commando Script is a MicroSoft VBScript development and runtime environment created especially for the HL7 Commando application. If you already know Visual Basic or Visual Basic for Applications (VBA), Using CommandoScript will be very familiar once you become familiar with the IDE (Integrated Development Environment). Even if you do not know Visual Basic, once you learn VBScript, you are on your way to programming with the whole family of Visual Basic languages. Although you can learn about VBScript using online resources (see the Language Reference), they do not teach you how to program. To learn programming, take a look at Step by Step books available from Microsoft Press or any of the literally hundreds of books and resources available on the subject.
Every Commando Message Processor profile has a Commando Script project associated with it. When you start a profile, the Commando Script project is loaded into memory and executed. When this happens any code in the initialization section is immediately executed (see Project Startup Code). If your project has a Public Function called LoadSettings() it will also be called. If your project has a public function called LoadSettings(), it MUST take no parameters and it must return either True or False. If it returns False, script execution will halt. After this initial code execution the script engine goes into a 'waiting state'. Every <xx> seconds (as defined in the Polling Interval property of your processor profile) the profile will:
See the Commando HL7 documentation for further information on how to use Commando HL7:
http://www.hermetechnz.com/documentation/Commando/V1/index.html
|