Slimelite BBS

New Commands ?

Back to AMIGA_OS&EM

From Peter Hughes · 1996-04-01 23:04 · #67619 in AMIGA_OS&EM

Hi Vince,

In a message of 27 Mar 96 Vince Gillard wrote to Adam Dawes:

 VG> ... Quoting: ADAM DAWES
 VG> ...      To: VINCE GILLARD
 VG> ... Subject: "New Commands ?"


 AD>> Try this:


 AD>> RequestChoice TITLE="Test" BODY="Sure?" GADGETS="OK|Cancel" >ENV:Result
 AD>> if $Result eq 0
 AD>>    echo "You pressed Cancel."
 AD>> else
 AD>>    echo "You pressed Ok."
 AD>> endif

 VG> Cheers Man. I aint tried it yet but it looks like it should work.
 VG> Problem is that it still only gives you 2 choices and I want 3.

Try:

GADGETS="OK|PARDON|CANCEL"

If you catch what I mean.

ttfn

Peter Hughes B.S.C. (Bronze Swimming Certificate)

--- Spot 1.2d Unregistered
 * Origin: Howdly Doodly Do (2:441/93.22)