home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d1xx
/
d177
/
jask.lha
/
Jask
/
test_jask
< prev
Wrap
Text File
|
1989-02-04
|
1KB
|
36 lines
; Copyright 1988 by I2(EYE) Systems. TEST_JASK - Version 1.0
;
failat 6
; these parameters say:
; -r = the requester text is YA MOMMA is ?
; -p = the positive gadget says FAT
; -n = the negative gadget says UGLY
; -d = the default is positive and draw a fancy border around the pos gad
; -t = parameter not specified so never timeout
jask "-rYA MOMMA is ?" -pFAT -nUGLY -dp
if warn
echo "POS Gadget pressed"
else
echo "NEG Gadget pressed"
endif
; these parameters say:
; -r = the requester text is YA MOMMA is ?
; -p = the positive gadget says FAT
; -n = the negative gadget says UGLY
; -d = the default is negative and draw a fancy border around the neg gad
; -t = timeout after 5 seconds and take the default answer
; -q = bring up the requester quick, don't scroll it up
jask "-rYA MOMMA is ?" -pFAT -nUGLY -dn -t5 -q
if warn
echo "POS Gadget pressed"
else
echo "NEG Gadget pressed"
endif
; Only the required parameter is specified here
jask "-rIsn't this a simple case?"
if warn
echo "POS Gadget pressed"
else
echo "NEG Gadget pressed"
endif