The helper program is a set of useful toolkit-like functions presented in a menu format. It would be very useful to anyone without any of the toolkits available for the QL and works on unexpanded machines.
The basic functions provided :
1. Directory of a device with file copy,delete,view options. The directory is constantly displayed while the functions are being carried out.
2. Formatting a device 1 to 10 times.
3. Copying the contents of one device to another (clone).
4. Set time and date.
5. Load and run a program from a specified device.
6. Set windows and exit to QDOS.
There is a fair bit of input checking to prevent errors happening but not every one can be prevented. Trying to copy a nonexistent file is an example of an error that will stop the program. I decided not to use WHEN ERROR to trap errors because of the system bug with that function and the objective to keep things simple. If it does crash it won’t hurt anything just note the cause of the error and restart the program by typing : ‘run<ENTER>’.
The code is straight SUPERBASIC. I indented the multiline IF statements for easier reading. It would be easy to customize and add your own special functions. The single line ‘IF’ statements don’t require an ‘ENDIF’ and I wasn’t always consistent in including one. I prefer using them for easier program reading.
To Run :
type : 'lrun ()helper' where ()=device holding helper
mdv1_,mdv2_,flp1_,flp2_
You are warned about errors and encouraged to use <CTRL><F5> to freeze screens and <F5> to unfreeze. Note that these always work on the QL.
You are next presented the HELPER Menu which should be self expanatory. Experiment a little. The date and time need be set only once after the QL is turned on even if it is reset. Exit to SUPERBASIC to quit. I hope you find it helpful.