peter cd494453ca * regenerated 24 years ago
..
Makefile cd494453ca * regenerated 24 years ago
Makefile.fpc 9e78512a5e * added fprcp 25 years ago
Readme.txt 6bdc4d1a4f extension changes 25 years ago
comments.pp 50684700d1 * log truncated 25 years ago
demo.h 69fb6245ea Initial implementation 25 years ago
demo.pp 50684700d1 * log truncated 25 years ago
demo.rc 4a511b5f26 Adapted name to demo.pp instead of demo.pas 25 years ago
expr.pp 8ee8e1cebd * removed warning/notes 25 years ago
fprcp.pp 8ee8e1cebd * removed warning/notes 25 years ago
pasprep.pp 50684700d1 * log truncated 25 years ago
use_demo.bat 69fb6245ea Initial implementation 25 years ago

Readme.txt

This binary with source code is released to public domain.
The utility can be compiled by Turbo Pascal (but 16-bit version
cannot handle files greather than 64K!), Delphi or Free Pascal.
fprcp.exe extracts from C header and Pascal files included into
resource scripts numerical constants and replaces these constants
to its values in resource script. Modified resource script is writing
to stdout.

fprcp.exe can be used as preprocessor by windres GNU-win32 utility.
It was tested with windres 2.9.4 successfully.
syntax:
windres --preprocessor fprcp.exe [another switches].

Notes:
1) current fprcp does not support typecasting and operations with
non-numeric constants;
2) Old versions of windres cannot create .res files;
3) in fprcp also source code written by Lars Fosdal 1987 and
released to the public domain 1993 was used

files:
readme.txt - this file

USE_DEMO.BAT |
DEMO.RC |
DEMO.PP - demo files
DEMO.H |

COMMENTS.PP |
PASPREP.PP |
FPRCP.PP - source code
EXPR.PP |

fprcp.exe - executable