"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/extras/themes-resources/base16/example.pb" (12 May 2020, 304 Bytes) of package /windows/www/highlight-3.57-x64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PureBASIC source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    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