Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Integer-sequence/FreeBASIC/integer-sequence.basic
Normal file
14
Task/Integer-sequence/FreeBASIC/integer-sequence.basic
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
' FB 1.05.0 Win64
|
||||
|
||||
' FB does not natively support arbitrarily large integers though support can be added
|
||||
' by using an external library such as GMP. For now we will just use an unsigned integer (32bit).
|
||||
|
||||
Print "Press Ctrl + C to stop the program at any time"
|
||||
Dim i As UInteger = 1
|
||||
|
||||
Do
|
||||
Print i
|
||||
i += 1
|
||||
Loop Until i = 0 ' will wrap back to 0 when it reaches 4,294,967,296
|
||||
|
||||
Sleep
|
||||
Loading…
Add table
Add a link
Reference in a new issue