The example in this directory demonstrates the use of tkmkmf to build a wish extended with a command called generate that generates a list of numbers from 1 to a specified finish in increments of 1, or from a specified start to a specified finish in increments of 1, or from a specified start to a specified finish in increments of a specified increment. The `tkmkmf -cp' phase has already been done and the Imakefile has been modified for use with gcc. The following session output shows the building of the application on my system and a simple test of the use of generate. ; tkmkmf ; make gcc -O -pipe -I/usr/local/X11-local/tkmkmf/3.6/include -I/usr/local/X11-local/tk/3.6/include -I/usr/local/tcl/7.3/include -I/usr/local/X11R5/include -target sun4 -c app.c rm -f app gcc -o app app.o /usr/local/X11-local/tkmkmf/3.6/lib/tkAppInit.o /usr/local/X11-local/tkmkmf/3.6/lib/AppInit.a -O -pipe -L/usr/local/X11-local/tk/3.6/lib -L/usr/local/tcl/7.3/lib -L/usr/local/X11R5/lib -ltk -ltcl -lX11 -lm ; ./app % generate Usage: generate [start] finish [increment] % generate 3 1 2 3 % generate 2 6 2 3 4 5 6 % generate 3 25 4 3 7 11 15 19 23 % The script app.tcl contains a simple example of the use of generate in a Tk interface, which can be seen by running the following command: ./app -f app.tcl Jim --- J.K.Wight@newcastle.ac.uk Department of Computing Science, University of Newcastle, Tel: +44 91 222 8238 Newcastle upon Tyne, NE1 7RU, United Kingdom. Fax: +44 91 222 8232