!**************************************************************************** ! * ! EXTRAC.DOC ! * !**************************************************************************** ! ! A major difficulity is maintaining documentation for all data elements ! within a system which deals with multi screens. ! ! If you use dPAINT to create screen files for I/O then here is a way to ! extract the screen row,col and prompt information as well as the row,col ! siz, and data type of the variables on the screen. ! ! There is one thing about the dPAINT program I have discovered during this ! process: ! ! When creating prompt information, all preceding spaces entered in ! d/PAINT are considered part of the prompt. To avoid this from ! happining use the arrow keys to position the cursor before entering ! the prompt. ! ! The leading values for each section are located within the program but ! I will list what I know to date here. ! ! Screen Position preamble byte is 128 decimal. ! The next two bytes are Row,Col. If the value of the third byte is NOT ! 129 then the next series of bytes up to the next 128 are special screen ! handling characters. ! ! String variable preamble byte is 129 decimal. ! The following series of bytes up to a null (ZERO) is the screen display ! variable. It's screen location (see above.) ! ! End of string variables byte is 23 decimal. I Think this is correct. ! ! Data Element preamble byte is 255 decimal. ! The next several bytes are defined as follows: ! Row, Col, Size, Type, ... unknown (Note: each series begins with 255) ! ! LIST FILE OUTPUT FORMAT ! The first section is the Row,Col,Prompt ! The second section is the Row,Col,Xmax,Xmin,Typ for the input variable ! Last line is the File name and number of data elements within the ! screen file. ! ! This program was designed,implemented by ! ! Dave Jackson ! Coast Mobilphone ! 220 W Canon Predido ! Santa Barbara, CA 93101 ! 1-805-962-9155 .