Push Value into Float Array
n = fao:push(v)
n = fao:push(fao2)
Push a value into the float array.
Parameter | Type | Description |
---|---|---|
v |
number | Value to push |
fao2 |
object | Array of values to push |
Returns | Type | Description |
---|---|---|
n |
integer | Number of entries in fao |
If the array is already full, or becomes full, then the old value(s) are removed to make space.
Likewise, if fao2
is larger than fao
then after calling fao:push(fao2)
then fao
will have the newest values from fao2
.