CRDFIL.DOC ---------- Copyright 1987 Tony B. Anderson All Rights Reserved [NOTE: Documentation is for Model 100 version. Machine-specific comme will differ with the Z88. Note that the Z88 supports up to 93 column vs. 40 with the 100/200 -- so there will be differences here, too. Overall, the operation is as described here.] A Cardfile program for the Model 100/102 and Tandy 200. Program create custom-prompted screens and data files in response to prompted input w resemble "card files". A "card" consists of a screen-full of data. Fil be displayed completely, "card after card", or selectively with a "Sea mode. Data can be added to existing files in the same prompted mode, o simply entering it in the proper form in the data file. The program, CRDFIL.BAS, which becomes CRDFIL.BA in your computer, is in BASIC, and operates interchangeably in the Model 100, 102 and Tandy Data files created by the program can be moved from machine to machine problems, except that files created on the 200 which utilize more than for display, will not display properly on the Model 100/102 screen due differences in display capability. The program is developed as a sort-of "universal" card file program, w create datafiles with almost any specification you need, input and dis according to the specs saved with each file. You can thus have one pr several data files, all of which can be displayed in a uniform format, the single program approach. Operation: ---------- The opening program menu gives the choice of Creating a new file, Disp "cards" from an existing file, or adding new data to an existing file. existing file must be in RAM as the program only supports RAM files. could be on disk, assuming the use of a DOS which can append to existi and the minor changes to the file opening statements that are required particular disk/DOS available. All file access is sequential which is commonly used for disk access. Program functions can usually be selected with a single keystroke, and cases, an indication is given in the prompt what characters will be ac In the case of the opening menu, the program will accept a C, D, or A Create, Display, or Add. The program will also accept E for "End" or "Menu". F8 will provide "Menu" which will be acted upon to return you main computer menu. Input can be either upper or lower case. In most cases, you will be moved through the program with "Help Screen tell you where you are, what is coming up next, what options you have, sort of input is expected from prompts. Create Mode: To create a new file, type the letter C at the opening menu. You will asked for a filename which is to be created to hold the data, and the entries (prompts) which will be associated with the card, and therefor ultimate screen display. You can create as many entries (prompts) as but keep in mind the size of the screen on your machine, and how much can display. You can use more than 8 entries on the 100/102 screen, o than 16 on the Tandy 200 by putting more than one entry on a single li final screen display. The program will allow you to position your pro the screen, and the position data is also saved to the data file. Once you have specified the number of entries for your "card", you wil prompted for the entry title, or "prompt" that will be printed during mode and also on the final card display. You can type as long a promp want, but keep in mind that long prompts use up display space on the s "Name" is more sensible for a prompt than "Name of Applicant". After you have given the entry prompt, you will be asked to specify th location where you will want the prompt printed. First indicate the l the prompt is to appear on, from 1 to 16, and second, indicate the col the line where you want the prompt to start, from 1 to 40. These numb manipulated to yield a PRINT@ position for the prompt. You can specif than one prompt per line, assuming there is sufficient space for the p the data you will be entering. If you want to have blank lines on your screen display "card", it is n necessary to create a blank entry in the data file. Since each prompt stored with it's print position, blank lines are simply unspecified pr locations. i.e. specifying first entry on line 1, and second entry on will automatically leave a blank line between 1 and 3. Automatic word wrap will allow you to enter data which wraps from one the next. If you expect to have a long entry, leave space on the foll line or lines for the data display. Remember your "card" is geared to display. The program does no error checking on entry length or screen positions. It is possible to have prompts overwrite displayed data if not watch your available space. Output (Display) will look the same a The program will go through a loop, allowing you to enter similar data prompt you have planned for. After all prompts have been entered, you given a chance to review your prompts as they will appear on the scree during output mode. After looking at the screen display, and pressing ENTER key, you will be given an opportunity to fix any incorrect entri can change the prompts, or their location; but not the total number of which you specified at the beginning. Once you are satisfied with the prompts, their locations and the final display, the data will be saved to your data file for future reference will then be in the data input mode. Each prompt will be displayed on the screen in it's proper location, a can type in the data that goes with the prompt at that location. Each is brought up in turn, and placed in the proper location on the screen you have answered all the prompts, your "card" will be completely fill and you will see how it looks. After the final entry, ENTER will take a "Is the data correct" prompt. A "Y" will write the data to the file back for another. A "N" will delete that data and let you start fresh card. Typing END at any input prompt will terminate input mode and re to the program's opening menu. Add Mode: To add new data to an existing file, select the Add mode at the openin (Type the letter A) You will be asked for the name of the file you wi add data to, and the program will abort if the file is not resident in it is located, the file will be opened, and the record of prompts will retrieved for use in the "Add" mode. These will be the same prompts t originally used with the data already in the file. You will then proc the "Input mode" where you are prompted for data input, just as you we creating the original file. Each "card-full of data" will be displaye correctness, and you can change incorrect data by re-doing the entire the data is correct, it will be appended to the end of the file. Typing END at any input prompt will return you to the opening menu. W END is used to exit a program mode, you can type it in three convenien END, End, or end. Display Mode: Selecting Display Mode at the opening menu (type D), will give you a f option, displaying the entire card file, a "card" at a time; or displa selected cards via a "Search Mode", where any card with a word match t specified input will be displayed on the screen. Specifying "1984" fo will show you all cards where "1984" appears in any of the data fields card, one at a time. Data File Structure: The data file is constructed of your keyboard input, and is straight-f The first line tells how many entries make up each "card". The follow times the number of entries give the actual entry prompts, and the PRI location for screen display. Ten entries would have 20 lines; two per Following this initialization group, the rest of the file contains the data, one line per entry. If you have specified 10 entries per card, group will consist of ten lines. There is no physical indication in t where each data group starts or ends so be careful if you do any manua in the data file. Applications: Card files, receipts, phone lists, record/tape files, or any data that itself to storage on identical 3x5 type cards. Want a hard copy of your card file? Simply press the PRINT button on computer when the data you want is displaying on your screen.