ZARK: an APL Tutor
Vector 7:4, page 62
The text of this article is not yet online. No complete scan of this issue has been found. The only copy found, on vector.org.uk, is damaged: its page images are lost, but the text machine-read from them survives, shown below (help find a scan).
Unedited OCR text, machine-read from a scan now lost: it contains errors, and its APL is wrong. Shown for searching.
VECTOR Vol.7 No.4
ZARK: an APL Tutor for APL*PLUS/PC
reviewed by Emily Timson
ZARK is a software package which aims to teach APL to novices whilst providing a valuable reference aid to experienced APLers. My parents both work with computers and seem to be infatuated with the things: I have been fairly successful in avoiding anything to do with them. Then my husband bought one and also tried to get me interested and that’s how I was persuaded to try ZARK and relate my experiences for Vector, a magazine ] have never read. When I began I knew almost nothing about APL.
The ZARK APL Tutor Kit The Software was on 4 floppy disks and a couple of pages of information about getting ZARK up and running on your PC all container. The instructions were brief and straight forward for my husband. They worked first time. Within a couple of minutes he had started ZARK for me and I was sitting comfortably and ready to begin.
Zark is written in American, which sometimes makes it hard to follow, and is frequently amusing. I laughed out loud on many occasions. Here is a sample of the style from the Starting instructions:
The Zark APL Tutor won't do you any good if won’t talk APL. These instructions may help to get you going. Follow them carefully.
1, Find someone who's installed APL on his or her computer. Get down on your knees and ask for help.
2. Failing that, read the installation instructions that come with the APL product. Do what they say.
3. Failing that, follow the steps below. We've distilled them from the manuals .... If you have trouble, return to step 1 or 2 above.
4, Failing that, learn COBOL.
The Introduction I thought it would to give this section a visit. (You see the Zark style is catching). Getting here was simple, I just pressed the SPACE BAR. Instantly, full colour easy to read text screens (we have VGA, but they work on Hercules too
62
VECTOR Vol.7 No.4
because we used to have that). Six pages followed in which I was told about the structure of the lessons and more importantly which THREE keys I had to press. SPACE BAR to proceed with the lesson, Fl for HELP and best of all ESC to get me out of all difficulties and back to the main menu.
Feeling in control and not yet confronted with anything confusing or difficult I moved straight on to the first lesson (SPACE BAR).
The LESSONS ZARK seems to be meticulous in the way it has covered aspects of the language with a lesson for each one. If you know what subject you want to be taught you can quickly select from the index screen and move straight into the required lesson. However you get are faced with a three part lesson:
Part 1. Tutorial This section is like an extract from a text book. This is where ZARK teaches you about whatever topic you have selected. The text is very easy to follow and quite humorous. The lessons never seem to get too deep and yet at the end of each tutorial I felt I had covered everything well. Knotty points are sometimes covered by a discussion between three A P L creators’ which are represented by faces which pop the screen under the words expressing their point of view. Sometimes they argue other, but they always seem to agree on the best way of solving each problem.
Part 2. Reading This is the shortest part of the lesson. ZARK illustrates the usage of the function being taught and invites you to predict the result of the expressions shown. This truly tests your understanding. Every usage is illustrated:
Predict the result of the following APL expressions:
3 + 7 (Press Enter) 10 3 - 7 (Press Enter) 4
Note the (~) sign, it signifies that the result is negative. The (-) sign is a function which subtracts the right argument from the left argument.
63
VECTOR VoL7 No.4
7 + (Press Enter) SYNTAX ERROR 7+ A
... addition needs both left and right arguments.
It is easy to work through each example (Press Enter) and if you experience any trouble you can easily go back to the tutorial section to recap (Press ESC). You can also lesson at any time by pressing SCROLL LOCK to enter immediate execution mode to experiment as you choose. Pressing SCROLL LOCK again returns you to the lesson at the place where you left it.
Part 3. Writing This is the best part of the lesson. In this section you find yourself working in immediate execution mode. ZARK presents you with a simple problem such as: