See the post from Giles on 2/2/2012 4:20 PM I followed his post to this code. I even remember it from 2006 and used it to solve some of my problems. I did finally get the pictures to work in J602.
When I tried the code in J701 I thought I had never solved the problem in J6 as it didn't work in J7. DAT's where DAT comes from! require 'bmp gl2' DAT=: readbmp jpath '~system\examples\data\toucan.bmp' DAT=: 256 #. |."1 [ 256 256 256 #: DAT foo=: 3 : 0 wd 'pc test closeok' wd 'xywh 0 0 150 150;cc g isigraph' wd 'pas 0 0;pshow' ) test_g_paint=: 3 : 0 glpixels_jgl2_ (40 40,|.$DAT),,DAT ) foo'' It still works in J6 but my errors are from J7 Happy hunting. Linda -----Original Message----- From: programming-boun...@jsoftware.com [mailto:programming-boun...@jsoftware.com] On Behalf Of chris burke Sent: Friday, February 03, 2012 3:14 AM To: Programming forum Subject: Re: [Jprogramming] Using wd Linda What is in DAT? What is in "a000 isigraph.ijs", and is this script relevant? What do you mean by "struggled a lot with scripted with random numbers"? Please try to analyze what might be going wrong before posting. If you cannot figure it out, please post the problem in such a way that others can easily reproduce it. Thanks. Chris On Fri, Feb 3, 2012 at 3:47 PM, Linda Alvord <lindaalv...@verizon.net>wrote: > I got the toucan in J602 > > I moved the toucan to temp J701 and got: > > > jijs saved: c:/users/owner/j701-user/temp/a000 isigraph.ijs > require 'bmp gl2' > > DAT=: readbmp jpath '~temp\toucan.bmp' > DAT=: 256 #. |."1 [ 256 256 256 #: DAT > > It read the "toucan" but the error in red when I ran the file was: > > |domain error: scriptd | DAT=:256#.|."1[256 256 256 #:DAT |[-3] > c:\users\owner\j701-user\temp\a000 isigraph.ijs > > I struggled a lot with "scripted" with random numbers but this is beyond > me. > > Maybe it will help somebody. > > Thanks. > > Linda > > -----Original Message----- > From: programming-boun...@jsoftware.com > [mailto:programming-boun...@jsoftware.com] On Behalf Of Gilles Kirouac > Sent: Thursday, February 02, 2012 4:20 PM > To: Programming forum > Subject: Re: [Jprogramming] Using wd > > Linda > > See > > http://www.jsoftware.com/pipermail/beta/2006-March/000607.html > > "You need the picture as a bitmap" (Chris). A bitmap can be displayed > in an Isigraph control in J6. > > In J6, the Isigraph control is described in the User Manual > > ...j602/help/user/script_isigraph.htm > > I do not know if the quite new wd emulation in J7 supports > the isigraph control. > > ~ Gilles > > > ---------- Original Message ----------- > From: "Linda Alvord" <lindaalv...@verizon.net> > To: "'Programming forum'" <programming@jsoftware.com> > Sent: Thu, 02 Feb 2012 05:05:18 -0500 > Subject: [Jprogramming] Using wd > > > This worked in J406 > > > > load 'c:\j406\willie\readwillie 2.ijs' > > > > |domain error: wd > > > > | wd picture=:'xywh ',(":w,h,((-2*w)+w*na),h*nd),';cc board > > isipicture' > > ... > ------- End of Original Message ------- > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm