slang-users mailing list

[2006 Date Index] [2006 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [slang-users] Include files like C #include does


Hello John,

"John E. Davis" <davis@xxxxxxxxxxxxx> wrote:
> Jörg Sommer <joerg@xxxxxxxxxxxx> 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.

_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html


[2006 date index] [2006 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]