From: Adlai Date: 2009-05-22T13:27:34+09:00 Subject: Re: require not working correctly? On May 21, 12:39 am, Joel VanderWerf wrote: > 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 Thank you Joel. I'll let you know how I like your Script thingy after I play around with it later today. - Adlai