Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 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