Parses a string of CSV numbers and inserts them into given dest array. Destination array is not cleared first.
Each individual value in the list is run through evaluateValue() function, allowing math, etc.
Commas inside parenthesis are ignored as separators, allowing use of functions which take multiple arguments.
e.g. "(45 * Math.PI / 2), 20, Math.pow(8, 10)" would result in an array of three values.
If evaluation fails for a value then a zero is used instead (see also evaluateValue()).
If maxCount is not zero then only up to this many values will be parsed.
Values can be optionally filtered by min/max range. Invalid values are silently skipped.
Returns true if any non-zero members were added, false otherwise.
Parses a string of CSV numbers and inserts them into given
dest
array. Destination array is not cleared first. Each individual value in the list is run throughevaluateValue()
function, allowing math, etc. Commas inside parenthesis are ignored as separators, allowing use of functions which take multiple arguments. e.g. "(45 * Math.PI / 2), 20, Math.pow(8, 10)" would result in an array of three values. If evaluation fails for a value then a zero is used instead (see alsoevaluateValue()
). IfmaxCount
is not zero then only up to this many values will be parsed. Values can be optionally filtered by min/max range. Invalid values are silently skipped. Returnstrue
if any non-zero members were added,false
otherwise.