Article View: news.software.readers
Article #34913Re: Generating vararg slrn intrinsic at run time ... ???
From: ol... Olly Betts
Date: Mon, 07 Jul 1997 00:00
Date: Mon, 07 Jul 1997 00:00
28 lines
1325 bytes
1325 bytes
In article <slrn5s1os...@ljz.asfast.net>, Lloyd Zusman wrote:
>What I don't know how to do is to assemble the call to
>'get_select_box_response' from these items on the stack.
Just use "get_select_box_response;" and it will take its arguments from the
stack. Here's an example (not very useful in its current form):
define list_refs ()
{
variable refs = extract_article_header( "References" );
% push title onto stack
"Message-Ids of parent messages";
strchop( refs, ' ', 0 );
variable answer = get_select_box_response;
message ( Sprintf( "You picked %d", answer, 1 ));
}
Cheers,
Olly
--
Don't send a man to do a buoy's job.
Technical Details
Message-ID:
<slrn5s255c.th8.olly@noxious.muscat.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mailReferences:
<slrn5s1ost.u4u.asfast@ljz.asfast.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn5s255c.th8.olly@noxious.muscat.co.uk> Subject: Re: Generating vararg slrn intrinsic at run time ... ??? Date: Mon, 07 Jul 1997 00:00:00 +0000 From: ol...@muscat.co.uk (Olly Betts) References: <slrn5s1ost.u4u.asfast@ljz.asfast.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp!not-for-mail X-Deja-AN: 255288738 Mail-Copies-To: always Organization: Muscat Ltd -- http://www.muscat.co.uk/ Newsgroups: news.software.readers,alt.lang.s-lang