CharmUtils  -  Additional function library for Charm

by Thomas Down

During the course of reviewing David Pillings Charm package in this issue of RISC User magazine, several major deficiencies in the standard supplied libraries were discovered. The CharmUtils module is an attempt to provide some of the more important functions which are missing. The new functions provided fall into two categories:

1. String to Number converters, for both integers and reals.

2. I/O routines, including a function, read_userstring, which provides
a simple line editor environment, similar to Basics INPUT, for entering
input from the keyboard.

Running the item from the RISC User menu system opens a directory containing three sub-directories: def, obj and src.

Programs which use CharmUtils should include the def.charmutils file in modules where CharmUtils functions are used. The object modules should be linked with the obj.charmutils file. The source code for obj.charmutils is in the src directory. Programs which are linked with CharmUtils must still be linked with the existing Charm run-time library as well.

In most cases, the easiest way to use CharmUtils is to copy def.charmutils into your System.def directory, and obj.charmutils into System.obj.

Copyright  RISC User 1996
