Oh yes ... I can see how that would work!!! ... thanks Alex. echo seems like a nice function - I don't think I've seen it anywhere before :) (I mean, I've seen echo that's equivalent of printf ... but not this) Regards, Kashyap
On Tue, May 7, 2019 at 8:49 AM Alexander Burger <a...@software-lab.de> wrote: > 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:picolisp@software-lab.de?subject=Unsubscribe >