Confirm( message$[,serious] )

Parameters

message$ - A message to display
serious - A true/false flag indicating whether something serious is about to happen

Description

Confirm allows you to check with the user before performing an operation.

Confirm displays a window containing the provided message, along with YES and NO buttons.

If the user selects YES, a value of 1 is returned. Otherwise, the returned value is 0.

See also: Notify, Proceed.

Example

; Example provided by Mag
result=Confirm("Are you sure",True)
If result=1 Then
Notify "I know that you're sure, I just asked to annoy you!"
Else
Notify "You cancelled the process!"
EndIf
End

Index

Click here to view the latest version of this page online