Newsgroups: comp.lang.apl
Path: watmath!watserv2.uwaterloo.ca!torn!utnut!cs.utexas.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!csus.edu!sfsuvax1.sfsu.edu!emclean
From: emclean@sfsuvax1.sfsu.edu (Emmett McLean)
Subject: Re: J , Windows and bitmap graphics
Message-ID: <1993Mar24.011335.26528@csus.edu>
Keywords: J, Windows, Graphics
Sender: news@csus.edu
Organization: San Francisco State University
References: <1993Mar23.154308.43654@Lehigh.EDU>
Date: Wed, 24 Mar 1993 01:13:35 GMT
Lines: 36


In article <1993Mar23.154308.43654@Lehigh.EDU> you write:
>I want
>to be able to plot lines, polygons, and pixels and to control 256 color
>palettes.  I seem to remember suggestions that most, if not all, of this
>is possible and there were examples somewhere.  I haven't found them -
>any help?  Thanks,  Cliff
>
 Since I've been running J on a UNIX box I don't have much experience with
 things like this.  But ...

 One method to implement _plotting_ is to use DDE to communicate
 with EXCELL.  There is an article in the October 1992 issue of VECTOR 
 by Adrian Smith called "DDE from APL" which addresses this approach in 
 various dialects, but not J.   My guess is that the implementation in J 
 might be similar to the implementation described for Sharp's APL. 
 (Perhaps some more knowledgeable netters can comment.  For what I know
 this might not even be true.)

 Yet another approach might be to write your own session mangager for
 J in VISUAL BASIC.  (I've met someone who has done this.) I recently
 inquired about the specifics for creating a checker board for a
 chess game.  (The logic of the implementation is actually
 beyond me but I figured it would be fun and not too difficult to
 translate the publically available common lisp into J to do the job.)
 And was told the implementation of the checker board will be _trival_
 with the capabilities of the May release of Iverson Software's APL 
 and J.  Very exciting!!!

 Also, you might iron out some of the specifics via FAX with Erik
 Iverson at Iverson Software.   (And encourage him to get an internet
 link. -:) ) 
 

 Emmett

