Insert - Function SummarySummary:Inserts a value into a series and returns the series after the insert. Usage:insert series value Arguments:series - Series at point to insert (must be: series port bitset) value - The value to insert (must be: any-type) Refinements:/part - Limits to a given length or position. range - The range argument. (must be: number series port pair) /only - Inserts a series as a series. /dup - Duplicates the insert a specified number of times. count - The count argument. (must be: number pair) Description:If the value is a series compatible with the first (block or string-based datatype), then all of its values will be inserted. The series position just past the insert is returned, allowing multiple inserts to be cascaded together. This function includes many refinements. /PART allows you to specify how many elements you want to insert. /ONLY will force a block to be insert, rather than its individual elements. (Is only done if first argument is a block datatype.) /DUP will cause the inserted series to be repeated a given number of times. The series will be modified.
Related:append - Appends a value to the tail of a series and returns the series head.
| |||||||||
|