langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
17
Task/Arrays/OxygenBasic/arrays.oxy
Normal file
17
Task/Arrays/OxygenBasic/arrays.oxy
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
'CREATING AN ARRAY
|
||||
|
||||
float f[100]
|
||||
|
||||
'SETTING INDEX BASE
|
||||
|
||||
indexbase 1 'default
|
||||
|
||||
'FILLING PART OF AN ARRAY
|
||||
|
||||
f[20]<=1,2,3,4,5,1.25
|
||||
|
||||
'MAPPING AN ARRAY TO ANOTHER
|
||||
|
||||
float *g
|
||||
@g=@f[20]
|
||||
print g[6] 'result 1.25
|
||||
Loading…
Add table
Add a link
Reference in a new issue