Bram Neijt wrote: > Is there an 'include' statement which takes the calling file position > into account?
Before you go off and add a primitive for _gst_get_cur_file_name, consider the intent of your package: 1. Is this a package of library-like code? If so, consider arranging for a package XML description to install and load your package via the PackageLoader. 2. Is this a script to be installed? If so, you can use Autoconf's substitution to insert the proper value when your package is configured (this is how gst finds the default kernel directory). Doing this yourself is also easy: sed '[EMAIL PROTECTED]@!'$bindir'!' script.st.in > script.st Also there may be a way to get the current filename that I am missing. thisContext method methodSourceFile doesn't seem to have it, which isn't that surprising.... -- Stephen Compall http://scompall.nocandysw.com/blog _______________________________________________ help-smalltalk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-smalltalk
