🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4402

Macro for toggling layout & a question

#4402
From: Nancy McGough
Date: Wed, 07 Jul 1993 17:09
31 lines
1359 bytes
My 2 favorite menu layouts are 0 and 3 so I wrote the 
following macros that use ' to toggle between these:

# ' toggles layout between my 2 fav layouts
map menu ' (
	?layout=0  macro 3
	?layout=3  macro 0
)

define 0
	:set layout 0
	break
end

define 3
	:set layout 3
	break
end


Now my question: Is it possible to do this all in one macro
rather than 3?  I tried the following but it didn't work:

map menu ' (
	?layout=0  :set layout 3  break
	?layout=3  :set layout 0  break
)

Anyone know?
Thanks,
Nancy
Technical Details
Message-ID: <21evvq$n0c@news.u.washington.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!swrinde!cs.utexas.edu!uunet!ogicse!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancym

Show Full Headers
Complete Article Headers
Message-ID: <21evvq$n0c@news.u.washington.edu>
Subject: Macro for toggling layout & a question
Date: Wed, 07 Jul 1993 17:09:14 +0000
From: nancym@stein2.u.washington.edu (Nancy McGough)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!swrinde!cs.utexas.edu!uunet!ogicse!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancym
Newsgroups: news.software.nn
Article-I.D.: news.21evvq$n0c
Reply-To: nancym@u.washington.edu (Nancy McGough)
Organization: University of Washington
Lines: 31
NNTP-Posting-Host: stein2.u.washington.edu
X-Newsreader: NN [version 6.4.16]