Path: news.daimi.aau.dk!news-feed.inet.tele.dk!newsfeed.nacamar.de!nntp.uio.no!ifi.uio.no!not-for-mail From: Alf-Ivar Holm Newsgroups: comp.lang.beta Subject: Re: Writing liberaries (I'm stuck) ;-( Date: 20 May 1997 16:17:02 +0200 Organization: The Department of Informatics, University of Oslo, Norway Lines: 28 Sender: alfh@mjollnir.ifi.uio.no Message-ID: References: <5ls66h$3jd@logi.ifi.uio.no> NNTP-Posting-Host: mjollnir.ifi.uio.no X-Newsreader: Gnus v5.4.53/Emacs 19.34 Xref: news.daimi.aau.dk comp.lang.beta:11093 mikkelor@ifi.uio.no (Mikkel Orheim) writes: > ORIGIN '/local/lib/beta/basiclib/current/betaenv'; > INCLUDE '/local/lib/beta/basiclib/current/systemenv'; > --- lib: attributes --- > Event_User: system > (# ... #) [...] > This is obvously wrong (compile errors an mass), and the problem > seem to be to be able to use SystemEnv in a "lib slot". If you look at the basicsystemenv.bet file, the SystemEnv is defined in the lib slot, but system is local to SystemEnv, and hence, not "available" from the lib slot. If you are going to put Event_User in a library file and define it inside SystemEnv, you have to use the systemlib:attributes slot defined in SystemEnv and make '/local/lib/beta/basiclib/current/systemenv' origin: ORIGIN '/local/lib/beta/basiclib/current/systemenv'; --- systemlib: attributes --- Event_User: system (# do ... #) Now, the main program ought to work (after some small fixes). Affi