In this manual, anything displayed on the Cambridge Z88 screen is shown in a computer typeface, such as
Name of file to save
Anything that you should type at the keyboard is shown in a different typeface to designate the keyboard keys; for example
You are invited to a party
The keys on the keyboard with a special function are shown in the text with key legends. So, for example, if you are asked to type
myfile
you would actually type the letters m y f i l e
and then press the
In general, references to menu headings are in bold caps; for example LAYOUT.
References to individual commands are in bold; for example Save or Load.
References to options displayed by a command are in italics; for example Save only range of columns.
The 'Square' key is represented using the symbol, also identified as the
The 'Diamond' key is represented using the symbol, also identified as the
The cursor keys are represented as , , and key on normal PC.
We're currently working on this page, we hope to have it done soon.
The Diary application can be entered from the Index menu or from any application by typing D. Only one copy of the Diary can exist in the list of SUSPENDED ACTIVITIES
at any time.
The Diary displays the Diary page for the current date, or the page previously edited if there is one.
Text can be typed into the diary in a free format, and can be edited using similar cursor-editing facilities as in PipeDream. Text automatically wraps to the next line when it reaches the right-hand margin, but note that unlike PipeDream the Diary does not reformat the remaining text on the page. This is to avoid altering the layout of any subsequent diary entries on the same page.
The
If you call the Calendar from within the Diary, you can use the cursor keys to select a new date. Pressing
Similarly, if you call the Alarm popdown from the Diary, the date will initially be set to the current date in the Diary. When you return to the Diary, however, the same date will be displayed on the screen as before the Alarm was called.
Memory low warning
When memory is low, a warning is displayed in the DIARY DATE window. You should then free memory before proceeding by deleting obselete diary entries with the
Operations on a block of text - BLOCKS
The commands on the BLOCKS menu allow you to perform a command on a block of text with a single operation A marked block can consist of a single line, can include several lines within one day, or can extend over several days, months, or even years.
To mark a block give the Mark Block command on a line to be selected, or at the top and bottom of an area to be selected. The marked block will be displayed highlighted on the screen.
Mark Block - Z
Marks a line, or the first and last lines in a block of lines, prior to performing one of the block operations on the entire block.
Clear Mark - Q
Clears any marked block previously set up with the Mark Block command. Copy - *BC
Makes a second copy of all the text within a marked block, putting the copy on the day indicated by the cursor position.
Move - BM
Moves a marked block of text from one position in the Diary to the position indicated by the cursor.
Delete - BD
Deletes a marked block of text from the Diary, closing up the gap. Note that this text cannot be recovered - the command should be used with caution.
List -BL
Lists all or part of the diary to the screen, or to a printer.
The following options are displayed:
List on screen Yes
List on printer No
List only marked block Yes
Pressing
To list part of the Diary, mark the part you wish to list with the Mark Block command on the BLOCKS menu first.
When listing to the screen the Diary will pause at the end of each screenful with the PAGE WAIT display:
CONTINUE
RESUME
Press the space bar to continue the listing or
Searching and replacing
The Search and Replace commands allow you to search for information anywhere in the diary and, if you wish, replace it throughout by different text.
Whenever the Diary is performing a time-consuming task, such as searching through a huge amount of information, or performing a large number of replacements, the cursor will disappear.
Search - BSE
Searches for a specified string, and moves to the day containing the first occurrence. You can restrict the search to a marked block, and also print or list all the lines which match the search string.
Yes No
Yes
The following options are displayed:
- - - - - - - - - - - STRING TO SEARCH FOR - - - - - - - - - -
EQUATE UPPER AND LOWER CASE . . . . . . . . . . . . . . . Yes
SEARCH ONLY MARKED BLOCK . . . . . . . . . . . . . . . . . No
PRODUCE LIST . . . . . . . . . . . . . . . . . . . . . . No
PRINT LIST . . . . . . . . . . . . . . . . . . . . . . . No
ASK FOR CONFIRMATION . . . . . . . . . . . . . . . . . . Yes
SEARCH ONLY MARKED BLOCK . . . . . . . . . . . . . . . . No
EX
: as the string to search for.Equate upper and lower case: by default the case is ignored so that specifying the will find The THE
, etc. Change to No
to find only strings that match the case of the specified string exactly.
Search only marked block: change to Yes
to restrict the search to a marked block.
Produce list / Print list: change to Ye
s to produce a list of the found strings to the screen or printer respectively. This is useful for finding and printing all lines beginning with the same word, such as Meeting.
Next Match - BNM
Moves from the cursor position to the next occurrence of the string you are searching for.
Previous Match -BPM
Moves from the cursor position to the previous occurrence of the string you are searching for.
Replace -BRP
Allows you to replace each occurrence of a string you are searching for with other specified text. By default the case of the replaced string is altered to match the case of the string matched, and before each replacement you are asked whether you want to make it. You can restrict the replacements to a marked block.
Gives the prompts:
- - - - - - - - - - - STRING TO SEARCH FOR - - - - - - - - - -
- - - - - - - - - - STRING TO REPLACE WITH - - - - - - - - -
EQUATE UPPER AND LOWER CASE . . . . . . . . . . . . . . . Yes
ASK FOR CONFIRMATION . . . . . . . . . . . . . . . . . . Yes
SEARCH ONLY MARKED BLOCK . . . . . . . . . . . . . . . . No
Replace with: specifies the string to replace every occurrence of the string to search for.
Equate upper & lower case: only affects the search part of the string, and the string is replaced exactly as specified.
The other options operate in the same way as for the Search command.
Moving around the Diary - CURSOR
The commands on the cursor menu enable you to move the cursor to any position on the page of information for the current day in the diary, and to the next or previous day.
TAB - |
TAB
|
Inserts spaces to position the cursor at the next tab position to the right. There are preset tab positions preset every 8 characters across the line.
ENTER - |
ENTER
|
Moves the cursor to the beginning of the next line.
Save Position - CSP
Saves the current cursor position. If you move to a new position, you can jump back to the previous position with the Restore Position command. Up to five positions can be saved, and they will be restored in turn.
Restore Position - CRP
Moves the cursor to the last position saved.
Moving within a line
Cursor Right - |
Moves the cursor one character space to the right.
Cursor Left - |
Moves the cursor one character position to the left. You cannot move past the beginning of the line.
Next Word - |
SHIFT
|
Moves the cursor to the beginning of the next word on the current line.
Previous Word - |
SHIFT
|
Moves the cursor to the beginning of the previous word on the current line. End of Line - * r->
Moves the cursor to the character position after the last character on the current line.
Start of Line - |
Moves the cursor to the first character position in the current line.
Moving within a day
Cursor Down -
Moves the cursor down within the current day.
Cursor Up -
Moves the cursor up within the current day
Last Line - |
Moves the cursor to the last line on the current page.
First Line - |
Moves the cursor to the first line on the current page.
Screen Down - |
SHIFT
|
Moves the cursor down by a screenful of information.
Screen Up - |
SHIFT
|
Moves the cursor up by a screenful of information.
Moving between days
Today - CT
Moves the cursor to today.
Next Day - |
Moves to the next day.
Previous Day - |
Moves to the previous day.
Active days
Days in the Diary which contain information are referred to as 'active' days. You can move rapidly between the active days with the Next and Previous Active Day commands, and you can find the latest and earliest information in the Diary with the Last and First Active Day commands.
If you call the Calendar from the Diary, active days, and the day you are currently looking at, are indicated by a marker against the day:
14 15 16
Next Active Day - |
Moves to the next day containing an entry.
Previous Active Day - |
Moves to the previous day containing an entry.
Last Active Day -CLAD
Moves to the latest day containing any information.
First Active Day -CFAD
Moves to the earliest day containing any information.
Summary of Diary cursor operations
Editing the Diary -EDIT
Editing within a line
Insert/Overtype -V
Switches the text entry mode between Insert mode, in which characters typed are inserted at the cursor position, and Overtype mode, in which characters type over the previous contents of the line.
The current mode is displayed at the right-hand side of the screen in the DIARY DATE
window.
Delete Character - G |
SHIFT
|
DEL
|
Deletes the character at the cursor position. All characters to the right of the cursor will move one position to the left to close up the gap.
Delete to End of Line - *D
Deletes the text from the cursor position to the end of the line.
Delete Word - *T
Deletes all characters from the cursor position to the beginning of the next word. If you position the cursor at the beginning of a word before giving this command, it will delete the word.
Rubout - "
Delete Character - G |
SHIFT
|
DEL
|
Deletes to the left. In Insert mode all characters at and to the right of the cursor will move left.
Insert Character - *U
Inserts a blank space at the cursor position. Swap Case - *S
Changes the case of the character at the cursor position and moves the cursor to the next character.
Editing within a day
Delete Line - *Y or * DE
Deletes the current line. Text on subsequent lines is moved up one line to close up the gap.
Join Lines - OEJL
Adds the text on the next line to the end of the text on the current line. Insert Line - ON
Inserts a blank line at the cursor position. The text on the current line and all subsequent lines is moved down one line.
Split Line - *ESL
Splits the current line at the cursor position. All characters at, and to the right of the cursor, will be moved to the next line.
Miscellaneous
Memory Free - OEMF
Displays the amount of space available, in bytes, in the D I ARY DATE window on the right-hand side of the Diary screen. Each byte represents the space needed for a character; approximately 2000 bytes are needed to store a typical A4 page of text.
Next Option - *J
Alternates between the available values of an option.
Loading and saving -FILES
The commands on the FILES menu allow you archive old information in the Diary, or to load a range of entries into the Diary, starting at a different date (such as a year later).
Load - *FL
Incorporates a diary file of a specified name into the information currently in the Diary.
Gives the prompts:
NAME OF FILE TO LOAD
START LOADING DATA AT DIARY DATE No
A block of Diary entries can be copied from one range of dates to another, such as from one year to the next, by saving the block, moving to the same date in the next year (using the Calendar), and then loading the data back with the option set
START LORDING DATA AT DIARY DATE Yes
Because loading appends data to whatever is already in the diary, an additional blank line will be present on the current day after a load.
Instead of typing the file name, the file can be selected from the Filer. After typing *FL call the Filer by typing r3F, and select the required file by marking it (see Selecting files, p. 85). When you return to the Diary from the Filer by pressing Esc the selected file name will have been copied to the Load window. You will then just need to press [ENTER] to load the file.
Save - *FS,
Saves the Diary to the current name, or to a name you specify. Normally the whole diary is saved. You can also save part of the Diary by marking the block of text first.
Gives the prompts:
NAME OF FILE TO SAVE
SAVE ONLY MARKED BLOCK N o
Percentage expenditures
As a final illustration of the power of PipeDream in analysing figures, you are going to calculate the percentage expenditure represented by each of the categories in the table.
First type the label Percentage
in slot Fl.
Next find the total expenditure for the four months in the table. Move to slot F7, press OX, and enter the expression
sum(B7 E7)
Instead of typing the references B7 and E7, you can 'point to' each slot by moving the highlighted slot with the keys [TAB[, [SHIFT] TAB , <D, and *, and then give the Insert Reference command, OK, to enter the corresponding references, B7 and then E7, into the editing line.
Now move to F2 and enter the following expression (which will be explained in a moment):
sum(B2 E2)/$F$7 * 100
Press [ENTER] to enter the expression.
This expression is built up as follows:
sum (B2 E2) is the total spent on rates for the four months.
F7 is the overall total expenditure for the four months. The $ signs 'freeze' the reference so that when the expression is replicated, the reference to F7 will remain the same.
sum ( B 2 E 2) / $ F $ 7 is thus the proportion of the overall expenditure spent on rates.