The Basics
This part explains the basic commands of ObjectScript, which are similar to those in other programming languages.
Here's what you'll learn in Part 1:
-
What an InterSystems IRIS class definition looks like, and how to write class methods.
-
How to use VS Code - ObjectScript and the Terminal.
-
ObjectScript commands: Write, Read, Set, Kill, Do, Quit, Return, and Continue, including post-conditional and argumentless versions.
-
ObjectScript constructs: If, For, While, Do/While, Try/Catch.
-
Proper syntax, and some common errors you may encounter.
Click here for a reference to all the ObjectScript commands and functions (use your browser's Back button to return here).