🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #32218

Re: slrn macro question

#32218
From: Michael Mulvaney
Date: Wed, 19 Mar 1997 00:00
33 lines
1231 bytes
On 12 Mar 1997 17:59:16 GMT, Jim Robinson <robinson@see-my-sig.com> wrote:
>E.g. I want to write my own version of 'header_down', but I want to call
>the real 'header_down' in my version :
>
>define header_down()
>{
>	blah
>	blah
>	invoke real header_down
>	blah
>	blah
>}

I don't know much about macro's in slrn, but couldn't you just do this:

define my_header_down()
{
	blah
	header_down()
	blah
}

Plus, its more efficient because I only needed 2 blah lines, instead
of 4.

--
Michael Mulvaney
  Krusty: Don't blame me...
  Krusty+Kids: I didn't do it!
  -- Words to live by, ``Krusty Gets Busted''

Technical Details
Message-ID: <slrn45j0lh6.fur.mikem@curly.cc.utexas.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: <5g6qtk$65g@lyorn.mdd.comm.mot.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn45j0lh6.fur.mikem@curly.cc.utexas.edu>
Subject: Re: slrn macro question
Date: Wed, 19 Mar 1997 00:00:00 +0000
From: mikem@curly.cc.utexas.edu (Michael Mulvaney)
References: <5g6qtk$65g@lyorn.mdd.comm.mot.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: 226817320
Organization: The University of Texas at Austin, Austin, Texas
Newsgroups: news.software.readers