- Subject: [slang-users] try does not run require
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- Date: Sat, 10 Jun 2006 20:37:45 +0000 (UTC)
- Date: Sat, 10 Jun 2006 20:37:45 +0000 (UTC)
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]