Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
14
Task/Integer-sequence/FreeBASIC/integer-sequence.freebasic
Normal file
14
Task/Integer-sequence/FreeBASIC/integer-sequence.freebasic
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 long integer.
|
||||
|
||||
Print "Press Ctrl + C to stop the program at any time"
|
||||
Dim i As Long = 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