[Prev][Next][Index][Thread]
Q: statements in module file?
-
To: info-dylan@ai.mit.edu
-
Subject: Q: statements in module file?
-
From: "Roland Paterson-Jones" <rolandpj@bigfoot.com>
-
Date: Mon, 25 Jun 2001 12:30:02 -0400 (EDT)
-
Organization: IBM Hursley
-
Xref: traf.lcs.mit.edu comp.lang.dylan:13411
It seems to me that you can have arbitrary statements at the top-level in
dylan (i.e. in between the method and class definitions). What is the exact
semantics of this? Do the statements only have access to the definitions
appearing above them in the source file? If so, it's somewhat of a pain to
compile, since they are executed in a different environment depending on
exactly where they are in the file.
Roland
Follow-Ups: