Programming#
Program control#
Flow control#
Jumps out the bottom of a do or for loop. |
|
Jumps to the top of a do or for loop. |
|
Executes a series of statements in a loop based on a conditional statement. |
|
Loops with integer counter. |
|
Conditional branching. |
|
Waits until any key is pressed. |
Error handling and debugging#
Executes a program under the source level debugger. |
|
Creates user-defined error code. |
|
Sends an error message to screen and log file. |
|
Sends an error message with the line number of the error report to the screen and log file. |
|
Includes or omits line number and file name records from program. |
|
Tests for a scalar error code. |
|
Traces program execution for debugging. |
|
Controls trapping of program errors. |
|
Examines the trap flag. |
|
Prints a warning message to the error window and error log file. The only difference between this and errorlog() is that it will display a warning icon in the error output window. |
|
Prints a warning message to the window and warning log file, along with the file name and line number at which the warning occurred. The only difference between this and errorlogat() is that it will display a warning icon in the error output window |
Procedures, keywords and functions#
Calls function and discards return values. |
|
Returns the number of dynamic arguments passed into the current procedure. |
|
Returns specified dynamic arguments with the option to set default values. |
|
Returns a vector containing the types of the dynamic arguments passed into the current procedure. |
|
Terminates a procedure definition. |
|
Allows user to create one-line functions. |
|
Begins the definition of a keyword procedure. Keywords are user-defined functions with local or global variables. |
|
Declares variables local to a procedure. |
|
Begins definition of multi-line procedure. |
|
Returns from a procedure. |
User input#
Output#
Returns the first |
|
Directs printed output to a file. |
|
Prints matrices, arrays, strings and string arrays to the screen and/or auxiliary output. |
|
Converts numeric vectors, string vectors and their combinations into formatted strings. |
|
Returns the last |