Hi,

I have successfully included files in my PSP documents using the <[EMAIL PROTECTED] syntax, and this works well for most problems. However, I have several developers working on a project, and we each have different paths to our project directories. Hence, we frequently conflict in our paths in the include directives. I would like to import a constant, something like PROJECT_PREFIX, and use that as the prefix for includes, since the actual project directory tree is identical for all of us. However, a syntax such as this:

        <% @include file="%s/projname/src/somestuff.psp" % PROJECT_PREFIX %>

...does not work. Is there a way to specify a file to include a file dynamically, using a variable or an expression?

Thanks,
steve



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to