Oh sorry, it shouldn't be released bcause the required base library has not yet been released. In the mean time, define
IFARM_z_=: 0 unless you are working on android where it needs to define IFARM_z_=: 1 jhs and iPhone/iPad shouldn't be affected because they should use their own internal version of viewmat. Срд, 04 Июл 2012, Linda Alvord писал(а): > I upgraded viewmat using jal this morning and now the gtk version no longer > works to provide the images at all. > > > > In the past the were all in separate windows. > > > > Here is the current error: (I'm using the script from my recent challenge > 13) > > > > viewmat {"2 m b 2 > > |value error: IFARM > > | GUI*.-.IFGTK > > > > Here is the script. I thought I could attach a .ijs but it didn't work. > It seems fine in jhs. > > > > p=: 13 :'?(x,2)$y' > > N=:26 > > P=:N p N > > lat=: 13 :'(y,+:y)$''. ''' > > lat 5 > > dots=: 13 :'<"1 (0{"1 y),.2*1{"1 y' > > dots 4 p 8 > > spots=: 13 :'((i.x){(65+i.26){a.)(dots x p y)}lat y' > > 5 spots 11 > > 12 spots 4 > > N spots N > > > > load 'viewmat' > > NB. (number of points) voronoi (shape) > > NB. Generates an array of indices of the nearest point > > b=: 13 :'(i.y),."0 1 i.y' > > p=: 13 :'?(y,2)$ y' > > m=: 13 :'(i.<./)"1 +/"1 *:x-"1/~y' > > > > NB. Palettes of colors used in the examples below viewmat {"2 m b 2 > > > > viewmat {"2 m b 3 > > > > viewmat {"2 m b 4 > > > > viewmat {"2 m b 5 > > > > viewmat {"2 m b 6 > > > > viewmat {"2 m b 7 > > > > viewmat {"2 m b 8 > > > > viewmat {"2 m b 9 > > > > NB. Regions > > viewmat (p 2) m b 2 > > > > viewmat (p 3) m b 3 > > > > viewmat (p 4) m b 4 > > > > viewmat (p 5) m b 5 > > > > viewmat (p 6) m b 6 > > > > viewmat (p 7) m b 7 > > > > viewmat (p 8) m b 8 > > > > viewmat Q=:(P=:p 9) m b 9 > > P > > Q > > > > > > Linda > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm