Using Caché ObjectScript
- About This Book
- Introducing ObjectScript
- Syntax Rules
- Data Types and Values
- Strings
- Numbers
- Objects
- Persistent Multidimensional Arrays (Globals)
- Undefined Values
- Boolean Values
- Dates
- Variables
- Operators and Expressions
- Introduction to Operators and Expressions
- String-to-Number Conversion
- Arithmetic Operators
- Logical Comparison Operators
- String Concatenate Operator
- Numeric Relational Operators
- String Relational Operators
- Pattern Matching
- Indirection
- Regular Expressions
- Wildcard and Quantifiers
- Literals and Character Ranges
- Character Type Meta-Characters
- Grouping Construct
- Anchor Meta-Characters
- Logical Operators
- Character Representation Meta-Characters
- Modes
- Comments
- Error Messages
- Commands
- Command Keywords
- Command Arguments
- Command Postconditional Expressions
- Multiple Commands on a Line
- Variable Assignment Commands
- Code Execution Context Commands
- Invoking Code
- Flow Control Commands
- I/O Commands
- Callable User-defined Code Modules
- Procedures, Routines, Subroutines, Functions, and Methods: What Are They?
- Defining Procedures
- Parameter Passing
- Procedure Code
- Indirection, XECUTE Commands, and JOB Commands within Procedures
- Error Traps within Procedures
- Legacy User-Defined Code
- ObjectScript Macros and the Macro Preprocessor
- Embedded Code
- Multidimensional Arrays
- String Operations
- Basic String Operations and Functions
- Delimited Strings
- List-Structure String Operations
- Lists and Delimited Strings Compared
- Lock Management
- Transaction Processing
- Managing Transactions Within Applications
- Automatic Transaction Rollback
- System-Wide Issues with Transaction Processing
- Error Processing
- The TRY-CATCH Mechanism
- %Status Error Processing
- Traditional Error Processing
- Logging Application Errors
- Command-line Routine Debugging
- Secure Debug Shell
- Debugging with the Caché Debugger
- Debugging With BREAK
- Using %STACK to Display the Stack
- Other Debugging Tools
- Open M Language Compatibility