|-----------------------------------------------------------------------|
|									|
|	File:    def.CharmUtils                                         |
|	                                                                |
|	Purpose: Extra i/o and number functions for Charm               |
|                                                                       |
|	Version: 1.00                                                   |
|                                                                       |
|	Author:  Thomas Down						|
|									|
|-----------------------------------------------------------------------|

ext proc isdigit(char);                       | Character type test     |
ext proc atoi(ref array char) int;            | String to int           |
ext proc ator(ref array char) real;           | String to real number   |
ext proc read_integer() int;		      | Read int from input     |
ext proc read_real() real;                    | Read real from input    |
ext proc bleep();                             | Simple bleep            |

ext proc read_userstring(ref array char,int) int;

| Read a string interactively into the buffer. Characters are echoed    |
| to output, and the delete key works as expected. The second argument  |
| specifies the maximum number of characters to read (including the 	|
| terminating zero). This should only be used with the keyboard as the  |
| input device!								|

ext proc read_userint() int;		      | Read int, interactively |
ext proc read_userreal() real;                | Read real interactively |


| END of def.CharmUtils |
