Download Inscribe User's Guide

Transcript
Writing a Dialog Function . . . . . . . .
Displaying the Dialog Box . . . . . . . .
Dialog Box Functions and Statements .
Dynamic Data Exchange . . . . . . . . . . .
Object Handling . . . . . . . . . . . . . . . .
Creating an Object Variable . . . . . . .
Using Methods and Properties . . . . .
Expressions . . . . . . . . . . . . . . . . . .
Numeric Operators . . . . . . . . . . .
String Operators . . . . . . . . . . . . .
Comparison Operators . . . . . . . . .
Logical Operators . . . . . . . . . . . .
Error Handling. . . . . . . . . . . . . . . . .
Trapping Errors SBL Returns . . . . . .
Trapping Errors Within Code . . . . . .
Trapping Errors Using an Error Handler.
Trapping User-Defined Errors . . . . . .
Derived Trigonometric Functions . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
34
34
35
38
39
41
41
42
42
43
43
45
46
46
47
48
48
51
3
Statements and Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
A
SBL and Visual Basic. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
B
Inscribe Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Compiling an SBL Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Debugging a Compiled Module . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Executing a Compiled Module . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
C
Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
D
Calling Executable Programs from Inscribe . . . . . . . . . . . . . . . . . . . 90
Inscribe User’s Guide
4
Contents