[Jprogramming] j701 Viewmat bug
Devon McCormick
devonmcc at gmail.com
Sat Mar 17 04:56:31 HKT 2012
Attempting to re-produce this:
$xx=:+/2&>:|((j.~/~(%~i:)9)&+@:*:)^:(i.13)0
|NaN error
| $xx=:+/2&>:| ((j.~/~(%~i:)9)&+@:*:)^:(i.13)0
On Fri, Mar 16, 2012 at 4:36 PM, Gilles Kirouac <gkirouac at riq.qc.ca> wrote:
>
> Viewmat bug in vmwin. Easily reproducible. Here is my gtk session.
>
> ~ Gilles
> =============================
> 6!:0'' NB.Start of session
> 2012 3 16 16 26 11.9401
> 13!:0]1 NB.Enable suspension
> $xx=:+/2&>:|((j.~/~(%~i:)9)&+@:*:)^:(i.13)0
> 19 19
> load'viewmat'
> viewmat xx
> |domain error: gloc
> | gtk_container_add window, canvas__gloc
> |vmwin[5]
> gloc
> 163588312
> canvas__gloc
> |domain error: gloc
> | canvas__gloc
> 13!:1'' NB.Display Stack
> |domain error
> * gtk_container_add window, canvas__gloc
> |vmwin[5]
> | vmwin mwh
> |vmrun__a[:10]
> | empty x vmrun__a y
> |viewmat[:1]
> | '' viewmat y
> |viewmat_jviewmat_[0]
> |viewmat[0]
> | viewmat xx
> vmwin
> 3 : 0
> newwindow TITLE
> gtk_window_set_position window,GTK_WIN_POS_CENTER_ALWAYS
> consig3 window;'key-press-event';'viewmat_key_press'
> consig3 window;'focus-in-event';'viewmat_focus_in'
> gloc=: glcanvas y;coname''
> gtk_container_add window,canvas__gloc
> windowfinish''
> )
> JVERSION
> Engine: j701/2011-01-10/11:25
> Library: 7.01.059
> Platform: Linux 32
> Installer: j701a_linux32.sh
> InstallPath: /home/linuq/j701
>
> (];(readtext_0_'') fwrites
> ])'~temp/JGTK',(;(_4,5$_2){.&.>('00',[:":[:<.0.5+])&.>6!:0''),'.txt'
> =============================
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
More information about the Programming
mailing list