Re: [sv-bc] Functions called from packages

From: Brad Pierce <Brad.Pierce_at_.....>
Date: Thu Apr 13 2006 - 19:37:11 PDT
> The package could import other packages. So the function definition
could 
> be found in the imported packages or in $unit.

So, if 'foo(...)' is called in a package, but subroutine 'foo' is not
declared in the static scope, then that is a parse error, and 'foo' is
not some implicit parameter-like thing awaiting resolution in various
dynamic instantiation scopes.  There is just one instance of a package,
no matter how many places its symbols are accessed, so its symbols must
have a fixed meaning.

Thanks, Steven and Francoise.  That interpretation makes a lot of sense.

-- Brad  
Received on Thu Apr 13 19:37:17 2006

This archive was generated by hypermail 2.1.8 : Thu Apr 13 2006 - 19:37:25 PDT