Well, that's no ordinary rabbit!
These have one parameter which is the text to display. For example to display a yes/no prompt with the user name and the text "are you sure?" you would use this -
@W.yes.no(%Z.name.inversion(\GU[/.USR]|1)_", are you sure? ")
@W.return("Hello")
Always returns nil
@W.err("You can't do that")
Always returns 1
@W.yes.no("Are you sure?")
Returns Y for a Y response and nil for N
@W.yes.no.nil("Are you ok?")
Returns Y for a Y response and nil for N
Allows a nil response
@W.yes.no.n("Are you awake?")
Returns Y for a Y response and nil for N
Defaults N
@W.yes.no.n.nil("Huh?")
Returns Y for a Y response and nil for N
Defaults N
Allows for a nil response
@W.yes.no.y("Really?")
Returns Y for a Y response and nil for N
Defaults Y
@W.yes.no.y.nil("Oh yeah?")
Returns Y for a Y response and nil for N
Defaults Y
Allows a nil response
Don't see what you
need? Visit one of these other sites
or email me your request (tomt at thomast357.com).