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

Reply via email to