OWBasic for Pocketviewer

Home INTRO Group GRAPHIO Alphabetical Index

Ask User

ASK!(question$ [,title$])
ASK(question$ [,title$])

Ask!() displays a messagebox with the given question and lets the you press the YES or NO button. In the case of an answer YES the function returns TRUE, the answer no returns FALSE.

The integer form ASK() (YES=1, NO=0) should not be used anymore.

Example:

new (boolean):

if ask!("Clear Screen") then
   cls 2
endif
old (integer):

if ask("Clear Screen")>0 then
   cls 2
endif


Home INTRO Group GRAPHIO Alphabetical Index