It ran fine in Linux j901 beta. Sat, 02 Nov 2019, Mike Powell написал(а): > JVERSION > Engine: j901/j64avx2/darwin > Beta-n: commercial/2019-10-22T17:26:02 > Library: 9.01.10 > Qt IDE: 1.8.3/5.12.3 > Platform: Darwin 64 > Installer: J901 install > InstallPath: /applications/j901 > Contact: www.jsoftware.com <http://www.jsoftware.com/> > > I’m running through the viewmat lab and get the following on the last three > lines of page 14: > > > ── (14 of 20) RGB ─────────────────────────────────────────── > A left argument for viewmat of 'rgb' means that the right > argument is interpreted as a table of RGB color integers. The > initial size is exactly that given. > > For convenience, the utility viewrgb is defined as: > > 'rgb' & viewmat > > For example, read in a bitmap file. Each number is an RGB > color integer. > ) > a=: readpng jpath '~addons/labs/labs/examples/data/toucan.png' > $a > 144 200 > (<40;10) { a > _59100 > |.256 256 256 #: (<40;10) { a > 36 25 255 > no locale for event handler: 7, event: viewmat_g_focus > no locale for event handler: 6, event: viewmat_g_focus > no locale for event handler: 5, event: viewmat_g_focus > > ── (15 of 20) RGB (ctd) ───────────────────────────────────── > > > I haven’t checked any other versions. > Mike Powell > ---------------------------------------------------------------------- > 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 --armor --export 4434BAB3 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
