Dan hit it on the head.  I have such a pre-processor (somewhere?)
written several times over in angst when working on various
systems.  David - I'll try to find it today and send it over,
then will probably post to my website.

T

> From: Daniel McGrath
> The way I've seen this handled before was by using a 
> preprocessor.
> 
> So instead of calling BASIC to compile your code, you 
> have your own command that wraps BASIC.
> 
> In your case, the first step would be to read each 
> line, find the include statements and insert the code 
> (probably with * BEGIN INCLUDE 'x' & * END INCLUDE 'x' 
> comments to help us humans). You would then write it 
> to a temporary directory and call BASIC to compile 
> that version.


_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to