home *** CD-ROM | disk | FTP | other *** search
- !Today
- ========
-
- This is an extension of the original program for the PC, that was
- ported onto the Arc by James Noad. Although the original Arc version was
- very good it did have some draw-backs.
-
- - It was not possible to select another date other than Today.
- Although the program was designed for the current day, the
- original PC version did allow you to change the day.
-
- - To add new days you had to use edit and put in all the codes
- for date, year, type and day yourself. Although this would be
- possible I thought that it would be better if the program
- could do it.
-
- - The Arc version (although run from the desktop) was not fully
- multitasking and I wanted a multitasking version to make it
- even easier to use with other programs (e.g. copy the data
- onto a word-processor).
-
- This new program has all of these features. When it is run by double-
- clicking its icon in the filer window you get a main window with all the
- records for the day that you run it on. There is also a line of icons
- across the top.
-
- The first 2 that you can use alter the month and day (Select will
- increase and Adjust will decrease). The next icon (Scanfiles) will take
- the new date that you have selected and bring up all the records for that
- date. Scan Today is the same but will first reset the date to 'today'.
-
- The Search icon will bring up a window allowing you to perform searches
- in the files for specified items. See the section Searching for more
- details. The Add Date icon will show a window allowing you to add data to
- the files on disk. This will then allow them to be found at a later date by
- the program.
-
- The Save icon will save a text file of the events in the main window.
- The data is saved to a file MM/DD in the directory containing !Today. Not
- 'Style Guide Compliant' I know but it was a 'Quick Fix'. The Print icon will
- print the events (probably better to save and print from a text editor where
- you have more control over the output).
-
- Searching
- ---------
-
- To perform a search you must first setup the search string. This can
- be anything that could be in the text. The program will then scan through
- all the files for any record with your search string in it. There is also
- a control code, a '?' means a single character but of any type.
-
- eg. H?M will find any three of more letters which have an H and an M with
- one letter between them.
-
- You can select whether it is case sensitive (Whether an 'a' is the
- same as an 'A') and you run it by clicking on the yellow icon. All
- references will then come up in the main window.
-
- The three option icons on the right of the window allow you to
- select the types of record allowed. Any type that is unselected will be
- ignored.
-
- The range facility will allow you to ignore records that are outside
- a range that is specified. To make this facility work you have to select
- the 'In Range' icon.
-
- There is a maximum of 255 records or a little more than 30 kilobytes of
- search text, going above either of these will cause an error. But if you are
- being specific enough these will not occur.
-
- The Save icon will save a text file of the events in the search window.
- The data is saved to a file SearchDate in the directory containing !Today.
- The Print icon will print the events (probably better to save and print from a
- text editor where you have more control over the output).
-
-
- Adding
- ------
-
- This allows you to simply add records to the files. You select the
- date for the entry with the 3 white icons on the left. The type can be set
- with the 4 option icons. The 'Own File' and 'Month File' allow to set
- which file it will be added to.
-
- The special day section allows you to select whether to have a
- special day and which day it will be be. Having a special day allows you
- to have dates which will only show on a certain day. For instance if you
- were to have 7 dates with the same record but with a special day of Sunday,
- the record would only come up if the date selected was a sunday. This
- allows you to put dates in that are on the first sunday of a month, or on
- specific days like fathers day.
-
- The Record date icon allows you to save it to file and the Clear Text
- icon will clear the 5 text icons at the bottom of the window.
-
- Editing
- -------
-
- You can edit the text files in a text editor providing that each line
- is followed by a newline character and also that at the end of the file
- there is only one newline character at the end of the file.The format for an
- item is as follows:-
-
- Column 1: The record type which can be a B for birthdays,
- S for special dates in history, R for a reminder or D for a death.
-
- Cols 2-5: Month and day as MMDD with leading zeros. Zeros
- for either month or day cause ALL months or days
- to match when being scanned. For example 0001
- would match the first of every month while 0400
- would match every day of April.
-
- Cols 6-9: The full year of the event as four digits.
- May be left blank, msg will move left.
-
- Column 10: A special processing flag. Values may be:
- -BLANK for no special processing.
- -C to continue a message from the previous line.
- Note, that you MUST repeat the date fields.
- -DAY-OF-WEEK DIGIT where 1=Sunday ... 7=Saturday
- This will cause the message to display only if the
- date falls on a certain day of the week. Look in
- the November file for voting day examples.
-
- Rest: Text followed by a newline character.
-
- If you want to add items with a text editor you must make sure the
- format is correct because the program will not check for you (it takes too
- much time when it has a search to perform and there is a perfectly good date
- adding function built in).
-
- Higlights
- ---------
-
- On the menu is an item 'Highlight'. If this is set any events in the
- main or search windows which came from the own file will be drawn in red and
- not black.
-
- Updates
- -------
-
- 2.00 (8-Jun-91) The original multitasking basic version. Solved the
- problems of the original but was very slow.
-
- 2.01 (16-Jun-91) Wrote it in RISC code. Much faster but there was a
- bug so any continued day did not work. Added a section that will
- break lines if they go above 62 characters in length. This makes
- it much more readable.
-
- 2.02 (18-Jun-91) Removed the bug in the code (Now the continue codes
- are used properly.
-
- 2.04 (21-Jun-91) Started adding the search option to make it easier
- to find records about specific items.
-
- 2.05 (25-Jun-91) Sorted out a bug in the code so now the main today
- window shows data correctly. Also changed my mind about the
- display. Now any record without a specified year has a '????'
- icon instead of a year. Before it was confusing and looked like
- a continuation of the previous record.
-
- 2.06 (31-Jun-91) Added the type facility to the search to make it
- easier to specify records. Also added print to the search and
- the main windows.
-
- 2.07 (4-Jul-91) Added the range facility to the search. It now will
- allow you to specify pretty accurately what you want so you
- minimize the records that you get.
-
- 2.08 (9-Jul-91) Tidied the code so it ran faster (and was shorter).
- This has allowed me to make the maximum number of records 80 and
- increase the data it can handle for a search to 9000 bytes.
-
- 2.09 (25-May-92) Gave it an icon-bar icon and a menu with quit. Now you
- cannot quit by closing the windows. Tidied up the WIMP interface
- and made it more user friendly. Also cured a couple of bugs in the
- save routines (one that wouldn't allow saving to the month file
- and one that caused the event type to be saved wrongly). Increased
- the maximum records to 100 and made it force the first letter of a
- string to uppercase when it is displayed in the main window or the
- search window.
-
- 2.10 (19-Aug-94) Thanks to Charlie Alford, a few bug fixes and
- improvements have been made. Buffer overflow errors no longer
- happen when !Today is run. Also the maximum ammount of text for
- one day has been increased to 8K and the maximum for a scan to
- more than 30K. Also the file handling has been tidied up and made
- a little less fussy about the way a file is saved.
-
- 2.11 (13-Apr-95) Another buffer overflow problem fixed when adding
- dates to October, Novenmber or December. New data files from
- Charlie Alford added.
-
- 2.12 (6-Jul-96) Fixed problem with case sensitive icon in search window.
- Fixed background colours of text on RiscPC. Fixed loaders to cope
- with blank lines in the data files. Added a new event type of death.
- Fixed bug in code for searching in a range. Added the Scan Today
- option.
-
- 2.13 (24-Jul-96) Put code to justify the text in the Main window and the
- Search window when outline fonts are used on a RiscPC. Widened icons
- for dates in main and search windows because it looked too tight with
- fonts on a RiscPC. Shrunk the code lots by altering the way windows
- are created. Got main/search windows to alter size to fit screen.
- Put code to allow saving of main and search windows. Got caret to
- move into first icon when opening search window. Got menu to stay
- open when adjust used. Added highlights of events in own file. Made
- search code match a blank string to nothing and not everything.
-
-
- If you want to write to me with bug-fixes (or money for a Risc PC) you
- can contact me at..
-
- James Miskin
- 23 Hardwick Drive
- Loughborough
- LE11 4TJ