u8/s8/u16/s16/u32/s32/u64/s64array_fill


u8array_fill(a, fill)
s8array_fill(a, fill)
u16array_fill(a, fill)
s16array_fill(a, fill)
u32array_fill(a, fill)
s32array_fill(a, fill)
u64array_fill(a, fill)
s64array_fill(a, fill)
      

Sets all elements in the integer array a to the object fill.

Return void.

Examples:


let a = #u8[1, 2, 3, 4, 5]
u8array_fill(a, 10)
a
// #u8[10, 10, 10, 10, 10]
      

Also see:

u8/s8/u16/s16/u32/s32/u64/s64array_copy
subu8/s8/u16/s16/u32/s32/u64/s64array_fill


Core Module Index | Main Index