[e-lang] Newbie questions about persistence
David-Sarah Hopwood
david-sarah at jacaranda.org
Mon Sep 14 14:18:54 EDT 2009
Thomas Leonard wrote:
> OK, I modified ScopeSetup to put a "persistence" object in safeScope (I
> couldn't see a way to do this from E). The main program binds this to an
> object with the brand and sealer, using a resolver in privScope. Is this
> sensible (at least as a work-around)?
>
> There are 48 separate objects in my program that need it, so I'm
> reluctant to start passing it around everywhere.
Why can't you just define it in an outer scope of your program, so that
it is accessible to all nested scopes?
--
David-Sarah Hopwood ⚥ http://davidsarah.livejournal.com
More information about the e-lang
mailing list