On Tue, May 07, 2019 at 08:13:32AM -0700, C K Kashyap wrote:
> Actually my point about array was to read the numbers in the array as fixed
> points decimals :) - 1, 2.0,3 -> with correct scaling.
Ah, ok, this must be handled separately.
You would also include "[" in the 'echo' arguments, then check it with
(use S
(while
(prin
(setq S
(echo "[" "volume" "unadjustedVolume") ) )
(if (= "[" S)
(... step through the elements ...)
(echo ",")
(prin ".0,") ) )
So the tricky part here is to step through the array elements. This can be done
with 'echo'es again, or perhaps 'peek', 'char' etc. as you know from @lib/xm.l
☺/ A!ex
--
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe