BASICe is an implementation of BASIC for Windows CE.  It was written 
by Dean Gienger and is distributed as freeware.

GRAPH.BAS is a little freeware program written in BASICe.  It draws
graphs.  To draw, it requires a set of two-dimensional spatial 
coordinates as input.  It plots the locations of up to 100 points 
according to their coordinates.  In addition, the program will draw 
lines connecting any designated pairs of points. 

The data file must be named "graph" and located in the same directory
as the BASICe program.  It begins with two integers, on the first and 
second lines, that tell the number of points (less than or equal to 100)
and the number of lines to be drawn.  Those numbers are followed by the 
input data in the form of a two-column array containing n pairs of 
floating point numbers in free format designating the x and y 
coordinates of each point:

 4
 2
 1.98  134.0
 0.333  -4.98
 111.7 1.0
 22.91 20.0

Then, if lines are included, integers representing the sequence numbers 
of each pair of points to be connected are listed, one to a line, in 
sequence:  

 1
 2
 2
 3

A sample data set is provided with the program.

Problems?  lin@aris.ss.uci.edu
