Current issue

Vol.26 No.4

Vol.26 No.4

Volumes

© 1984-2024
British APL Association
All rights reserved.

Archive articles posted online on request: ask the archivist.

archive/10/2

Volume 10, No.2

Review: "Introduction to APL*PLUS/PC" by Maurice Dalois

by Alan Mayer (a.d.mayer@swansea.ac.uk)

This book is an excellent introduction for APL beginners. It comes with a floppy disk containing an “educational version” of APL*PLUS/PC. This is similar to the Manugistics commercial product, with some limitations and omissions, and is quite adequate for the stated purpose of learning APL. At $30 (plus shipping costs) for book and disk it is also ideal for many other educational purposes, such as teaching mathematics and statistics. I will start with a brief review of the software.

Installation of the system is very simple. The only startup decision the user has to make is the choice between three separate batch files for CGA, EGA and VGA. VGA and EGA work well. CGA is painfully slow, as the APL characters are produced in graphics mode. Only Epson compatible and HP LaserJet printers are supported by the Educational Version of APL*PLUS, and this choice can be made at startup by specifying a parameter for the batch file. Object sizes are limited to 64K and dimensions of arrays to 32767. A character vector cannot exceed 32767 characters; a numeric integer vector cannot exceed 32763 numbers; a numeric floating point vector cannot exceed 8190 numbers.

The system function ⎕MLOAD (used to link up with non-APL programs) is not available. Terminal mode is not available (although a do-it-yourself transmit/receive program is described briefly in the text). Virtual workspace, extended memory usage by the interpreter, and file-sharing on networks are not available. Screen management is all there, as is file-handling. ⎕G graphics are supported, but not the GSS interfaces. The user command processor works, but the documentation in the book is limited, so access to the full documentation is desirable.

Coming to the book itself, there are 190 pages of text, and a further 112 pages of appendices and an index. The text is divided into 9 chapters, which are easy to read, and take you rapidly but comprehensively through the main features of APL programming, from calculator mode to screen management, graphics and data files.

There are some typographical errors – words like beyong instead of beyond. None that I have found really matters: I mention them by way of a minor protest. We all have spell-checkers these days. I know they can be annoying, but used sensibly they should help eradicate these irritations. (Yes, I know this is dangerous stuff – send me all the typos you find in Education Vector and I will humbly apologise for every one!)

From chapter 3 onwards, various utility functions are introduced in the text. They are listed as they are introduced. They also appear in Appendix C, and are available on the disk. You would be forgiven for assuming that functions with the same name, taken from any of these sources, would be identical – but you would be wrong. In at least one case (a function called ASKN) all three listings are different! Most of the functions perform correctly, so the inconsistencies are again little more than an irritation.

In the case of a function called DISPLAY, however, there are some problems. The disk version corresponds to the appendix, but not to the text. The problem is that only the text version gives the results claimed in the text. Working through Chapter 4, on Screen Management, we are advised to copy DISPLAY from the workspace UTIL and perform a few simple tasks. The first task involves displaying a “blinking” statement on line 24 of the screen. Unfortunately line 24 is a Status line, so the statement cannot be seen unless you scroll down to it. Then you display other statements at various positions on the screen, and that is when the disk (and appendix) versions let you down.

It is sad that these flaws mar what is otherwise an excellent text. Once you realise that when things don’t work it may not be your fault, you can benefit greatly from an exploration of Screen Management in Chapter 4, Graphics in Chapter 5 and Data Files in Chapter 6. Chapter 7, entitled Miscellaneous Techniques, introduces Recursion and the User Command Processor. A very brief part of Chapter 7 also discusses communications with printers, other computers, plotters and digitizers – sufficient information to whet the appetite and perhaps to set the determined explorer off on the right track. The last two chapters present miscellaneous problems (to which solutions are provided in an appendix, together with solutions to problems posed throughout the text) and a case study on processing election results.

Appendix A is particularly valuable as a concise reference manual. Entitled “Definitions” it includes a complete list of all primitive functions and operators, together with examples of their various uses. This is followed by a complete list of all system functions, variables and commands.

Book and disk are available from EducAPL Inc, 1120 av du Parc, QUEBEC, Que, CANADA, G1S 2W7. They are undoubtedly an important addition to the APL educational library.


(webpage generated: 5 December 2005, 19:02)

script began 21:27:49
caching off
debug mode off
cache time 3600 sec
indmtime not found in cache
cached index is fresh
recompiling index.xml
index compiled in 0.1962 secs
read index
read issues/index.xml
identified 26 volumes, 101 issues
array (
  'id' => '10012400',
)
regenerated static HTML
article source is 'HTML'
source file encoding is 'ASCII'
read as 'Windows-1252'
URL: mailto:a.d.mayer@swansea.ac.uk => mailto:a.d.mayer@swansea.ac.uk
completed in 0.2183 secs