Data Update
This commit is contained in:
parent
e50b5c3114
commit
633b36288a
206 changed files with 4762 additions and 965 deletions
13
Task/Array-length/S-BASIC/array-length.basic
Normal file
13
Task/Array-length/S-BASIC/array-length.basic
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
dim string animals(2) rem here is our array
|
||||
var array_struct_address = integer
|
||||
based array_size = integer
|
||||
|
||||
animals(1) = "ardvark"
|
||||
animals(2) = "bison"
|
||||
|
||||
location spec array_struct_address = animals
|
||||
base array_size at array_struct_address + 5
|
||||
|
||||
print "Size of array ="; array_size
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue