Path: news.daimi.aau.dk!poe From: Peter Andersen Newsgroups: comp.lang.beta Subject: Re: Beta MacEnv Question Date: 21 Apr 1995 11:14:21 GMT Organization: DAIMI, Computer Science Dept. at Aarhus University Lines: 44 Approved: mailtonews@daimi.aau.dk Distribution: world Message-ID: <3n842d$do2@belfort.daimi.aau.dk> NNTP-Posting-Host: daimi.daimi.aau.dk Baiss E. Magnusson writes: > > Hi, > > In file the line: > > initToolbox: (# g:^ GlobVars; enter g[] do g.init; inner; #); > > exists, which I assume is the imperative which is executed > first from . > > Now, since is neither a sub-pattern or a virtual pattern, > where does the go? > If you just call ... -> initToolbox the will act as a no-op, since it is no specialization of the initToolbox pattern. If, however, you call ... -> initToolbox(# do #) then the in initToolbox specialization will "call down" to execute . However, you are right, that in this specific example, the inner is superflorious, since the exact same effect can be obtained by: ... -> initToolbox; ; Sincerely, Peter Andersen _____________________________________________________________________________ Mjolner Informatics Aps Phone: (+45) 86 20 20 00 ext. 2753 Science Park Aarhus Direct: (+45) 86 20 20 11 - 2753 Gustav Wieds Vej 10 Fax: (+45) 86 20 12 22 DK-8000 Aarhus C, Denmark Email: peter.andersen@mjolner.dk _____________________________________________________________________________ BETA is better -----------------------------------------------------------------------------