★ APPLICATIONS ★ DIVERS ★ AMSTRAD CORDON BLEU ★ |
Amstrad Cordon Bleu (The Amstrad User) | Applications Divers |
[INCOMPLET] 2100 Command 2: "Search". STARTING UP (1) Transfer the program from cassette to a newly formatted (both sides) disk. I would suggest that a whole disk be made available since this allows up to 400 recipes to be saved. (2) RUN the program. A title page will be screened. (3) Press the key twice. (4) Type in GOTO "10000 (and . After initialization the program returns to the title page. (5) Repeat steps (3) and (4) for the second side of the disk. (6) Optional (but strongly recommended): the program and "REM-out" lines 10000 to 10035. (7) RUN the program normally and respond as required to the prompts. SOME PROGRAM FEATURES (1) The "INKEY$" subroutine (line 100) will RETURN only if a character within the "valid$" is encountered. All other responses will result in a beep-tone, an error message, and the input question is repeated. The string defined as CONTROL1$ does all the cursor control for this procedure. Note that the character"+" (plus sign) is used as an escape key to restart the program at any time that a single character entry is required. (2) Separate windows arc defined for MODE 1 and MODE 2 operation, since the shifting from one mode to the other clears window specifications. (3) In the Correction procedures, a recipe may be totally removed if its name is set as "REMOVE" (in upper case as a precaution). Each part of the recipe can be individually corrected: and additonal data can be entered. (4) The "LINE INPUT" instruction has been used to allow comma's as separators in the text. However, " (double apostrophies) must not be used. (5) The Search routine uses the powerful instruction INSTR to locate a match to a name or part-of a name. (6) HELPFUL HINT: since this program is written in BASIC, the maximum string length is 255. I would therefore suggest that longer paragraphs in the "preparation". be broken down to smaller sections for typing in. You will find that this also helps when corrections need to be made. This program has been in use in our household for some time now, and as with all "living" software changes/improvements are innevirable. (Additions can be evidenced by the strange line numbering within the main -and sub program areas). The overflowing drawer is being steadily reduced, and loosing forward to the "dinner party" scone to cap off effectiveness of the program. I hope that you find it interesting and useful as we have. (So do I, but for those people who really kant to rnah good impression, replace Horses Doovers" in line 22 with "kors d'œuvrea" - Ed). MANUAL starting at chapter 14. You will find that most routines have ENTRY CONDITIONS consisting of values passed in registers. This would suggest that we need some way of passing values to the registers from BASIC as it is impossible to do this directly from BASIC. (ARNOLD has a method, but it is complicated and requires a greater understanding of all components of the Z80 than is necessary to use the firmware routines). TAU
|