"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/extras/pandoc/example.pb" (12 May 2020, 566 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 ; ==============================================================================
    2 ;                             PureBASIC Example File                            
    3 ; ==============================================================================
    4 ; "example.pb" | PureBASIC 5.61
    5 
    6 For i=5 To 1 Step -1
    7   TEXT$ = "Iteration number: " + Str(i) + ~"\n\nDo you wish to continue?"
    8   UserChoice = MessageRequester("Countdown Dialog", TEXT$, #PB_MessageRequester_YesNo | #PB_MessageRequester_Info)
    9   If UserChoice = #PB_MessageRequester_No
   10     Break
   11   EndIf
   12 Next