[Jprogramming] GUI problem
chris burke
cburke at jsoftware.com
Tue Feb 2 18:26:45 UTC 2016
The following expression is a matrix:
'set face *',>'r<0>2.0' 8!:0 >: 2?10
You at least need to ravel the formatted numbers:
'set face *',,>'r<0>2.0' 8!:0 >: 2?10
Also, you can use J8 rather than J6.
On 2 February 2016 at 10:07, Steve Mandula <smandula at idirect.com> wrote:
> Could someone suggest a solution
> in the wd 'set face *',>'r<0>2.0' 8!:0 >: 2?10
> part? As I would like 1 to appear as 01 etc and
> 11 to not change. I would like format properly
> this area.
> With Thanks
>
> WinEx1=: 0 : 0
> pc winex1;
> xywh 70 7 34 15;cc payname static;cn "Push Button";
> xywh 100 28 34 14;cc cancel button;cn "Cancel";
> xywh 25 8 34 14;cc roll button;cn "Roll";
> xywh 20 27 34 54;cc face static;cn "";
> pas 6 6;pcenter;
> rem form end;
> )
>
> winex1_run=: 3 : 0
> wd WinEx1
> wd 'pshow;'
> )
>
> winex1_cancel_button=: 3 : 0
> wd 'pclose;'
> )
>
> winex1_roll_button=: 3 : 0
> wd 'set face *',>'r<0>2.0' 8!:0 >: 2?10
> )
>
> winex1_run ''
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list