Re: [Jprogramming] Programming style

2018-01-28 Thread Jimmy Gauvin
@Brian Tacit bz would certainly be harder to maintain than BZ for beginners like me bz=: '0'"_ ` (I.@:(' '&=)@]) ` ]}~ Case in point : why is there a ~ at the end of bz? Sometimes the answer is in front of me but I take a while to recognize it : the gerund form of amend needs a left argumen

Re: [Jprogramming] Programming style

2018-01-27 Thread Linda Alvord
y, January 26, 2018 6:01 PM To: programm...@jsoftware.com Subject: Re: [Jprogramming] Programming style Hi Jimmy, it was difficult to read the code due to email formatting. I thought it would also be enjoyable to play around with printf ts =: (6!:0) '' frs ts 2018-01-26 17:49:50.537

Re: [Jprogramming] Programming style

2018-01-27 Thread Brian Schott
bz=: '0'"_`(I.@:(' '&=)@])`]}~ dtf=: (SE KS} bz) @:(FT& ":)@] NB. Date Time Format dtf t Well, I got the tacit to work after seeing my typo of { in the place of } . But I am not sure there is any benefit to the tacit over non-tacit wrt your issue of maintaining code. On Sat, Jan 27, 2018

Re: [Jprogramming] Programming style

2018-01-27 Thread Brian Schott
Intriguing ideas, Jimmy (and Joe). I might offer better formatting for others: SE=: '-- ::' NB. Spacing Elements KS=: 4+3*i.5 NB. Koordinates of Spacing elements FT=: 4 3 3 3 3 7j3 NB. Formatting Time elements BZ=: 3 : '''0'' (I. y='' '') } y' NB. Blanks to Zeroes DTF=: 3 : 'SE KS} BZ FT ": y' NB

Re: [Jprogramming] Programming style

2018-01-26 Thread Joe Bogner
Hi Jimmy, it was difficult to read the code due to email formatting. I thought it would also be enjoyable to play around with printf ts =: (6!:0) '' frs ts 2018-01-26 17:49:50.537 '%d-%02d-%02d %02d:%02d:%f' printf <"0 ts 2018-01-26 17:49:50.537000 Or I suppose something like this even f

Re: [Jprogramming] Programming style

2018-01-26 Thread Henry Rich
You put your finger on it in the last line of your post. Henry rich On 1/26/2018 5:16 PM, Jimmy Gauvin wrote: Hi all, I was playing around with date/time formatting and ended up with : frs =: 3 : '''-- ::'' (4+3*i.5)}''0'' (I. y='' '') } y=.4 3 3 3 3 7j3 ": y' I tried breaking it up into

[Jprogramming] Programming style

2018-01-26 Thread Jimmy Gauvin
Hi all, I was playing around with date/time formatting and ended up with : frs =: 3 : '''-- ::'' (4+3*i.5)}''0'' (I. y='' '') } y=.4 3 3 3 3 7j3 ": y' I tried breaking it up into components to see if something would come out of it : SE=: '-- ::' NB. Spacing Elements KS=: 4+3*i.5 NB. Koordina