Reference Manual - Table of Contents

Execution Control
Forms and Windows
Controls
Menus
System and Desktop
Graphic Drawing Commands

Animation
QuickTime Movies
Speech
Sound
File I/O
Printing
Serial Ports

Math Functions
String Functions
Date and Time
Memory Buffers
Error Handling
Console Text Window

Events

Direct Memory Access
Direct Mouse Access
Direct Keyboard Access
Code Resource Modules

A - Runtime Error Messages
B - Compiler Error Messages

 

Console Text Window

The Console Text Window allows you to create text only based applications. This is useful when porting over text based applications. The Console Text Window also is useful for debug work using the Print command to display variable values. The Console Text Window will automatically be display upon the first Print command.

Command Summary:
Print [numeric-expression][,][text$][,][...][;]
?
[text$][;][numeric-expression][,][text$][,][...][;]
Input var
Console status
ConMsg status
ConClear
ConTitle
titleString$

 

Print [numeric-expression][,[text$][,][...][;]

? [text$][,[numeric-expression][,][text$][,][...]

This command will print numeric and string expressions to the console text window. Arguments can be devided with a comma. Place a semi-colon at the end of the command statement to disable the automatic linefeed.

Example:

Dim A, Name$
Print "Hello World"
Print "My favorite color is ";
Print "blue."
A = 5
Name$ = "Fred"
Print A, T
Print "Hello ", Name$;

 

Input var

This command will allow users to enter data via the console window to be assigned to a variable.

var - This is any numeric or string variable.

Example:
Dim A&, B&, C$
Print "Enter 1st Number > ";
Input A
Print "Enter 2nd Number > ";
Input B
Print "Added together equals ",A+B
...
Print "What is your name ? "
Input C$
Print "Hello ", C$;

 

Console status

This command can disable or enable output to the console text window. This allows an easy way to toggle output on and off if the programmer is using print commands to output debugging information.

ConMsg status

This command allows you to suppress the end of program console message Press any key to end > and the wait for a key press to end the program. This appears only if there has been output to the console window.

ConClear

This command allows you clear the contents of the Console Text Window.

 

ConTitle titleString$

This command allows you to change the title of the console text window.