Top | Up (Array) | < Previous (PAGE NAME) | Next (PAGE NAME) >
Fills an array with copies of the same value.
FILL array[], value [, start% [, length%]]
parameter | description |
---|---|
array[] | array to fill |
value | value to fill the array with |
start% | position to start filling the array; if omitted, 0 |
length% | length of the region to fill; if omitted, the length of the array minus start% |
DIM A[10]
FILL A,3,0,5 'first 5 items in A are now 3
Added 1
1 SmileBoom “Additions/Changes in Ver. 3.2.0 (June 17, 2015)” http://smilebasic.com/en/debug/archive/
Top | Up (Array) | < Previous (PAGE NAME) | Next (PAGE NAME) >