slang-users mailing list

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

[slang-users] Re: slang2 pre-release snapshot 4 available


p.boekholt@xxxxxxxxx <p.boekholt@xxxxxxxxx> wrote:
> On Tue, 22 Feb 2005 13:39:47 +0000 (UTC), Joerg Sommer <joerg@xxxxxxxxxxxx> said:
>> BTW2: Where should appear the implements()? I place it as the first
>>   statement in a file like package in java or namespace in C++. But if
>>   loading the file fails, because of a syntax error, I can't reload this
>>   file, because the namespace exists.
>
>>From kcomplete.sl:
>
> if (length(where("kcomplete" == _get_namespaces())))
>   use_namespace("kcomplete");
> else
>   implements("kcomplete");

Good idea.

Jörg.

-- 
Es liegt in der Natur des Menschen, vernünftig zu denken und
unlogisch zu handeln! Das Gesagte ist nicht das Gemeinte und das Gehörte
nicht das Verstandene! 

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


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