[Jprogramming] prefix zero

Linda A Alvord lindaalvord at verizon.net
Mon Feb 1 04:23:55 UTC 2016


Here's a start of a way to make a list:

    ((?10#10)*10#1r2)    %>:?17 
3r17 0 0 1r34 1r34 4r17 3r34 0 9r34 1r17

Linda

-----Original Message-----
From: Programming [mailto:programming-bounces at forums.jsoftware.com] On Behalf Of Steve Mandula
Sent: Sunday, January 31, 2016 10:45 PM
To: programming at jsoftware.com
Subject: [Jprogramming] prefix zero

Could some solve this problem?
prefix a zero to a number.

so that 1 2 3
becomes 01 02 03
and that 10 or 11 remain without the
zero prefix

With Thanks

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm



More information about the Programming mailing list