slang-users mailing list

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

[slang-users] try does not run require


Hi,

what goes wrong here:

#v+
% cat /tmp/test.sl
try
{
    require("stkcheck");
    enable_stack_check();
}
catch OpenError: {} % stkcheck not in path

% slsh /tmp/test.sl
enable_stack_check is undefined
/tmp/test.sl:4:<top-level>:Undefined Name
zsh: exit 38    slsh /tmp/test.sl

% cat /tmp/test.sl
% try
{
    require("stkcheck");
    enable_stack_check();
}
% catch OpenError: {} % stkcheck not in path

% slsh /tmp/test.sl
%
#v-

Bye, Jörg.
-- 
Du kannst einem Schwein einen goldenen Ring durch die Nase ziehen,
deswegen bleibt es trozdem ein Schwein!

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

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