%OP%BON %OP%JUN %OP%LS1 %OP%TM1 %OP%HM1 %OP%FM1 %OP%BM1 %OP%LM5 %OP%HE/%H2%Z88 Users' Club Software Library%H2%/ %OP%FO/%H2%Z108%H2%//@P@/ %OP%DEFunction Keys - Documentation. %CO:A,12,70% %C%%H1%@T@%H1% The purpose of this program is to run short CLI files (executable files) from BASIC at the touch of a single key. My main criticism of the Z88 has always been the lack of user definable function keys, and this program goes some way towards rectifying that omission. The program comes with a selection of routines which show the variety of uses to which this program can be put. In an ideal world frequently used routines would be run from Pipedream (for example) by pressing <>1 or <>2, etc.. In this routine you press []B1 or []B2, etc., which is only one extra keystroke. The program is organised as follows:- What is the program capable of doing? The answer is - I don't know! To use a tired, old cliche, it is limited only by your imagination. (Sorry about that one.). The selection of routines will get you started. Obviously you will need to put your own address in DATA statement 7. The only guidelines are:- May I take this opportunity to thank Barry Green and Richard Marsh for all their help, advice and suggestions. This program really is a team effort! My next project is to re-work this program so that a CLI routine can be allocated to each key. This gives an enormous potential for customising your Z88 and really getting the most out of the CLI. Any suggestions will be gratefully received..... I look forward to hearing from you! %C%%H2%Michael Hey (0703) 18, Woodside Road, Sandiacre NOTTINGHAM NG10 5GP %C%%H2%%H1%LIBRARIAN'S NOTE This program is supplied to you as: Whilst the program itself will happily start from any sub-directory (e.g. enter BASIC and CHAIN"LIBRARY/Z108B") Z108C %H1%must be renamed%H1% %H4%date.cli%H4% and be in the root (top-most) directory for the main program to be able to find it! %H1%Ian Braby MRPharmS Software Librarian %CO:B,12,58% Lines 1-10 are DATA statements which hold the description of each routine and the routine itself. Lines 20-270 are the program proper. The lines above 60000 are the line editor produced by Cambridge Computer Ltd., published in the M-Tec BBC BASIC Manual for the Z88. This line editor is provided to facilitate the customisation of functions. For example, to change the function allocated to key "3", first of all enter "%H2%0%H2%" (QUIT) which halts the program and restores the flashing cursor. Then enter %H2%PROCE(3)%H2%. After a brief pause line 3 will be displayed ready for editing. (1) that CLI routines are quite indiscriminate in what they will do - be careful of those which erase files or delete anything! A routine such as %H2%#F|ER:RAM.*//*~EN~E%H2% will swiftly erase all your files without asking for any confirmation! (2) DATA statements do not require to be contained in quotes - useful if you want to quote a filename. If you need to use commas in the CLI routine then you must use quotes so, obviously, you cannot use commas and quote a filename in the same DATA statement. This is why %H4%date.cli%H4% cannot be written as a DATA statement. (3) many of the routines assume that you only have one %H4%Instantiation%H4% of PipeDream present. You may substitute the %H2%~I|CARD|[~R~D~E%H2% method used by %H4%date.cli%H4%. This always selects the most recently suspended PipeDream file (or the Diary or QuickEdit, etc.) but it takes longer to run. LIBRARY/Z108A - documentation LIBRARY/Z108B - main program LIBRARY/Z108C - date.cli routine. %CO:C,12,0%%CO:D,12,0%%CO:E,12,0%%CO:F,12,0%