🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #28419

Re: slrn execute_slang error

#28419
From: 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

Technical Details
Message-ID: <slrn5b8kfk.ci3.davis@aluche.mit.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn5b12cp.pp5.vikas@joshua.insight.att.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn5b8kfk.ci3.davis@aluche.mit.edu>
Subject: Re: slrn execute_slang error
Date: Sun, 15 Dec 1996 00:00:00 +0000
From: davis@space.mit.edu (John E. Davis)
References: <slrn5b12cp.pp5.vikas@joshua.insight.att.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 204286020
Organization: Center for Space Research
Reply-to: davis@space.mit.edu
Newsgroups: news.software.readers