🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #147152

[slrn] macro help please

#147152
From: Mike Vanecek
Date: Tue, 27 Apr 2004 13:28
28 lines
2104 bytes
I am trying to write my first macro based on ideas posted in this group and my
reading of the manuals.
                                                                                                                          
my_macros.sl contains
                                                                                                                          
implements ("my");
static define my_quit_group ()
   {
      call("catchup");
      call("next");
   }
definekey("my_quit_group", "\033[24~", "article");
                                                                                                                          
.slrnrc has
                                                                                                                          
interpret "my_macros.sl"
setkey article my->my_quit_group "%"
                                                                                                                          
The macro loads. I open a group and press F12 and receive the following error
message:
                                                                                                                          
S-Lang Error: Undefined Name: my_quit_group is undefined
                                                                 
Why am I getting the error message?

-- 
  Thanks, Mike.
Technical Details
Message-ID: <rc32m1-4mc.ln1@news.invalid.99computer>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.glorb.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <rc32m1-4mc.ln1@news.invalid.99computer>
Subject: [slrn] macro help please
Date: Tue, 27 Apr 2004 13:28:07 +0000
From: Mike Vanecek <MikeV99@privacy.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.glorb.com!newscene!novia!novia!sequencer.newscene.com!not-for-mail
Newsgroups: news.software.readers
Lines: 28
X-Archive: encrypt
User-Agent: slrn/0.9.8.0 (Linux)