Syntax Compatibility Modes
|
| | Visual Basic | In Basic compatibility mode, the syntax is modeled after Microsoft's Visual Basic Language. |
| | BASIC | In BASIC compatibility mode, the syntax is modeled after the standard BASIC language. |
| | Java | In Java compatibility mode, the syntax is modeled after Sun's Java Language. |
| | C | In C compatibility mode, the syntax is modeled after the C, and C++ languages. |
| |
| Notice: | While these scripting languages provide all the tools needed to create ooPIC applications, it should be noted that these scripting languages are NOT full implementations of the respective precedents they are modeled after and that not all of the functionality of those languages is needed nor supported by the ooPIC compiler. |
|
|
| Declarations |
| | Objects | Declares variables and Objects for use. |
| | Constants | Declares named constant values for use in place of literal values. |
| | Procedures | Declares the name, beginning and end of the code that forms the body of a Procedure. |
| | Functions | Declares the name, beginning and end of the code that forms the body of a user defined Function. |
| Branching |
| | Procedure Call | Instructs the Program Flow to branch to, and then return from a Sub Procedure. |
| | Function Call | Instructs the Program Flow to branch to, and then return from a Function with a value. |
| | Unconditional | Instructs the program flow to unconditionally branch to another part of the program. |
| Looping Constructs |
| | Do | Instructs the program flow to execute a group of statements as long as a given condition is met. |
| | For | Executes a group of statements a specified number of times. |
| | While | Instructs the program flow to execute a group of statements as long as a given condition is met. |
| Selection Constructs |
| | Case | Instructs the program flow to selectively execute one of several possible blocks of statements. |
| | If | Instructs the program flow to conditionally execute a group of statements. |
| Operators |
| | Assignments | Assigns a value to a variable or to another object's property. |
| | Relational | Performs a relational conjunction between two expressions. |
| | Logical | Performs a logical conjunction between two expressions. |
| | Arithmetic | Performs an arithmetic conjunction between two expressions. |
| Functions |
| | Abs | Calculates and returns the absolute value of a number. |
| | Chr | Calculates and returns the ASCII value of a single character string. |
| | Cos | Calculates and returns the cosine of an angle. |
| | Sin | Calculates and returns the sine of an angle. |
| | Sqr | Calculates and returns the square root of a number |
| | Str$ | Calculates and returns a string that represents the value of a number. |
| Miscellaneous |
| | Remarks | Used to include explanatory remarks in a program. |