1 ; PureBASIC 5.60 Example
    2 
    3 For i=5 To 1 Step -1
    4   TEXT$ = "Iteration number: " + Str(i) + ~"\n\nDo you wish to continue?"
    5   UserChoice = MessageRequester("Countdown Dialog", TEXT$, #PB_MessageRequester_YesNo | #PB_MessageRequester_Info)
    6   If UserChoice = #PB_MessageRequester_No
    7     Break
    8   EndIf
    9 Next