Part II. Language basics

Table of Contents

4. Syntax
Case sensitivity
Identifiers
Simple identifier
Prefixed identifier
Comments
Single-line comment
Multi-line comment
Line continuation
Literals
String literal
Integer literal
Yes_no literal
Character literal
Void literal
5. Root software elements (RSEs)
Type
Factory
Service
6. RSE features
Attribute
Command
Creator
Event
7. Scripts
Introduction to scripts
Command script
Attribute get script
Attribute set script
Check scripts
attribute_check script
Attribute check script
Command in_check script
Input argument check script
Command out_check script
Output argument check script
Default scripts
Attribute default script
Input argument default script
test script
8. Script instructions
Assignments
Variable declaration instruction
Constant declaration instruction
Assignment instruction
Assignment tail
Script execution
Object command execution instruction
Script execution instruction
Script execution tail
Flow control
if then else instruction
case type of instruction
exit script instruction
Loops
repeat while instruction
repeat for each instruction
repeat from to instruction
repeat times instruction
repeat forever instruction
repeat tail
exit repeat instruction
next repeat instruction
Events
generate event instruction
on event instruction
stop event handler instruction
Error handling
check instruction
check script instruction
error instruction
condition
error info
Testing
test instruction
verify instruction
verify error instruction
Embedded Java source code
java instruction
9. Expressions and operators