home *** CD-ROM | disk | FTP | other *** search
- This upload contains the lastest versions as of 10/6/93 of the programs
- that I personally developed as input to the WIN32API consortium. I ask
- that the other contributers upload their inputs also so that we can continue
- the work in this forum. The FORM32 and MOVE32
- module source are not included but are available from the Engineering Computer
- Programers library if you want them. Note that all these are alpha
- programs and that they are only used as starting points in development
- (for example; nested structure names are not automatically generated
- by this version; so if your code uses the paint structure but not the
- rectangle structure independently you need to include an entry using
- the rectangle structure to force the precompiler to pick up the structure
- definition--or paste it in using EDIT after the Precompiler does its work
- but before the Compiler is invoked.
- ***************PREFOR32******************************************
- This is a 2 pass pre FORTRAN compiler. Since FORTRAN 32 Powerstation
- is limited to about 65000 bytes of symbols, it is impossible besides
- wasteful to include a bunch of define statemements for variables that
- are never used. Therefore PREFOR32 scans the FORTRAN code of one file
- looking for variables found in the lists MASTERFI.LIS and MASTERFD.LIS
- and generates FILE_NAME.FI and FILE_NAME.FD (where FILE_NAME is the
- name of the file). The programmer needs only put include statements
- in his FORTRAN code to use these.
- This is the selective copier of includes from the master include files
- to the user include files. It selectively copies the include information
- for the selections which the user has specified in his(er) .fdh and .fih
- files. It searches the 13 master .FI files and the 13 master .FD files
- in the order shown in the file PREFOR32.FOR. It is run from NT by clicking
- on an icon which you have established to run prefor32. For the example
- included (i.e., the program itself serves as an example of how to use
- the product) run the program twice. The first time enter PREFOR32 into
- the file entry block of the dialog box. The second time enter FORM32
- into the file entry block of the dialog box. Examine the source code of
- PREFOR32.FOR, MOVETE32.FOR, and FORM32.FOR to see what include statements
- are needed where. The .PRE files produced PREFOR32.PRE and FORM32.PRE
- will summarize the success of PREFOR32. Listed in the files are the
- number of FI and FD symbols requested and the number not found. If any
- symbols are not found, the symbols are listed. A symbol being listed
- signifies one of two things: (1) the symbol was not found in any of the
- 13 master includes (in this case check the spelling in the .fih or .fid
- file) or (2) the symbol occured twice in the .fdh or .fih file (in this
- case delete one of the entries and rerun PREFOR32.
- ***************SCRUNCH_******************************************
- This is the second pass only of PREFOR32 that avoids the FORTRAN code
- search and uses the intermediate results FILE_NAME.FIH and FILE_NAME.FD
- to determine the contents of FILE_NAME.FI and FILE_NAME.FD.
- This is the selective copier of includes from the master include files
- to the user include files. It selectively copies the include information
- for the selections which the user has specified in his(er) .fdh and .fih
- files. It searches the 13 master .FI files and the 13 master .FD files
- in the order shown in the file PREFOR32.FOR. It is run from NT by clicking
- on an icon which you have established to run prefor32. For the example
- included (i.e., the program itself serves as an example of how to use
- the product) run the program twice. The first time enter PREFOR32 into
- the file entry block of the dialog box. The second time enter FORM32
- into the file entry block of the dialog box. Examine the source code of
- PREFOR32.FOR, MOVETE32.FOR, and FORM32.FOR to see what include statements
- are needed where. The .PRE files produced PREFOR32.PRE and FORM32.PRE
- will summarize the success of PREFOR32. Listed in the files are the
- number of FI and FD symbols requested and the number not found. If any
- symbols are not found, the symbols are listed. A symbol being listed
- signifies one of two things: (1) the symbol was not found in any of the
- 13 master includes (in this case check the spelling in the .fih or .fid
- file) or (2) the symbol occured twice in the .fdh or .fih file (in this
- case delete one of the entries and rerun PREFOR32.
- ********************************************************************
- DEFS is a program that searches a C include file to find the DEFINE
- statements and generates the equivalent FORTRAN Parameter statements.
- It is a quick 'n dirty program to aid in generating the .FD master
- library. It also generates MASTERFD.LIS
- ********************************************************************
- If you have any questions, send me mail at 71461,374 or post query in
- forum. Barry
- ********************************************************************
- DANGER Will Robinson DANGER
- The USER32.FI and USER32.FD files included are examples and not the
- ones the forum is working on. Please do not overcopy your versions
- of USER32.FI and USER32.FD; stick this stuff in a separate directory.
- ********************************************************************
-