Thank you, that works.
Actually, I am looking for something similar to the “encode” operator of APL.
e.g., to get vector from the scalar q)100 sv 2014 07 14
20140714
To: personal-kdbplus@googlegroups.comX-Mailer: Apple Mail (2.1878.6)X-H-Notify: Remote host 213.182.238.93 incorrectly presented itself as [192.168.1.100]X-Scan-Signature: 2a25a03f1ffea761c4f23529bc8fb87cSomething like this?q)encode:{1_reverse mod[scan[div[;x]]y;x]}q)encode[100] 2014071420 14 7 14On 15.07.2014, at 01:15, sudhakar wrote:> Actually, I am looking for something similar to the “encode” operator of APL.> e.g., to get vector from the scalar q)100 sv 2014 07 14> 20140714