- Subject: Re: [slang-users] SLang_restart, SLang_load_file returning -1, how do I restart?
- From: Jeremy Cowgar <jc@xxxxxxxxxx>
- Date: Fri, 02 Jan 2004 15:13:36 -0500
On Fri, 2004-01-02 at 13:51, Jeremy Cowgar wrote:
> do alot of other things, and when the user wants to run a script:
>
> if(SLang_load_file(filename) == -1)
> SLang_restart(1);
>
Forget it, dumb question. I solved it. I *did* read the manual, I don't
know why I missed the critical element:
if(SLang_load_file(filename) == -1) {
SLang_restart(1);
SLang_Error = 0;
}
Sorry about that, but hey, now it's searchable in the mailing list
archives ;-)
----
jeremy <jc@xxxxxxxxxx>
The box said Windoze 95 or greater, so I installed Linux!
_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html
[2004 date index]
[2004 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]