[fpc-devel] new features and facilities

wkitty42 at windstream.net wkitty42 at windstream.net
Sat Oct 10 16:03:49 CEST 2015

On 10/10/2015 07:12 AM, Mark Morgan Lloyd wrote:
> One thing that bothers me about these approaches is that sooner or later some
> awkward cuss (such as myself) will start whining about how much better Pascal
> would be if there were a decent macro preprocessor so that CaseOf() could be
> specialised into other forms expressing choice :-/

years ago when i was working with TP3 and then later TP/BP6&7, i wrote a macro 
preprocessor for use with my code... basically i coded in .tpl (template) files 
where i needed macros and then my preprocessor would read the .tpl files and 
output .pas or .inc files with the macros altered to the real desired data... i 
did this especially with the date and time of the compile so that it was 
included in the binary and could be displayed when desired... there were other 
use cases where this came in very handy... unfortunately it was a down'n'dirty 
tool that needed to be customized for each project i worked on... i've no clue 
where that code is today :(

  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list* unless
        private contact is specifically requested and granted.

More information about the fpc-devel mailing list