[slang-users] Include files like C #include does
Jörg Sommer
joerg at alea.gnuu.de
Wed Jul 19 16:41:25 EDT 2006
Hello John,
"John E. Davis" <davis at space.mit.edu> wrote:
> Jörg Sommer <joerg at alea.gnuu.de> wrote:
>>implements("foo");
>>static fun() {}
>>() = evalfile("new_file", current_namespace());
>>
>>But then fun is accessable form anywhere.
>
> It is accessable in the sense that it would have to be referenced
> using foo->fun.
>
> I suspect that there may be a larger problem you are trying to solve
> and that using "#include" is just one mechanism to deal with it. If
> so, what is the larger problem?
No it's not a real problem. It's more an academic requirement that all
publicly accessable function must be documented and their arguments must
be checked.
Regards, Jörg.
--
- StGB §§ 328 Absatz 2, Nr.3 : Mit Freiheitsstrafe bis zu
fünf Jahren oder mit Geldstrafe wird bestraft, wer eine
nukleare Explosion verursacht.
More information about the slang-users-l
mailing list