🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Vikas Agnihotri Thu, 12 Dec 1996 00:00
slrn execute_slang error
#28329
Author: Vikas Agnihotri
Date: Thu, 12 Dec 1996 00:00
15 lines
771 bytes

Here is what I get when I do a ^Kd to execute a SLANG
function from within slrn
S-Lang Error: execute_slang: Stack Underflow

slrn 0.9.2 on Solaris 2.5

Any ideas?

Thanks,
--Vikas


Re: slrn execute_slang error
#28419
Author: John E. Davis
Date: Sun, 15 Dec 1996 00:00
29 lines
1334 bytes
On 12 Dec 1996 22:39:26 GMT, Vikas Agnihotri <vikas@insight.att.com>
wrote:
>Here is what I get when I do a ^Kd to execute a SLANG
>function from within slrn
>S-Lang Error: execute_slang: Stack Underflow

The `read_mini' function was changed in 0.9.2 to require 3 arguments.
Unfortunately, I forgot to make the change in the sample macros file.
This function should work for you:

define execute_slang ()
{
   variable str;
   
   str = read_mini ("S-Lang> ",  "", "");
   !if (strlen (str))
     return;
   
   eval (str);
}


-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads