From: Joel VanderWerf Date: 2009-05-21T06:39:39+09:00 Subject: Re: require not working correctly? Roger Pack wrote: >> I figured out this trick myself, but globals could cause problems in >> larger projects with name collisions... > > The only way to share things across scopes is constants or globals--that > I know of :) You can also write your own #load method, and use the return value to access things defined in the loaded file. It's actually quite easy to do this. Here's the approach I use: http://redshift.sourceforge.net/script/ -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407