Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
8
Task/Array-length/FreeBASIC/array-length.basic
Normal file
8
Task/Array-length/FreeBASIC/array-length.basic
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
' FB 1.05.0 Win64
|
||||
|
||||
Dim fruit(1) As String = {"apple", "orange"}
|
||||
Dim length As Integer = UBound(fruit) - LBound(fruit) + 1
|
||||
Print "The length of the fruit array is"; length
|
||||
Print
|
||||
Print "Press any key to quit the program"
|
||||
Sleep
|
||||
Loading…
Add table
Add a link
Reference in a new issue