Hi, Cliff
Thanks for responding. I did as you suggested and added the "c:". Here is the 
program:
s=: 1 1$1
sier=: 3 : 'y,y,.y'
s=: sier^:9 s
pa1=:255 255 0,:0 0 255
load '~addons\media\image3\view_m.ijs'
(pa1;s) write_image 'c:temp\temp.png'
view_image 'c:temp\temp.png'
And here is what I got:

load 'C:\Documents and Settings\Charles\j602-user\temp\3.ijs'
|index error: viewimage_run
| wh=.1 0 {$y
I removed the "c:" and got the same result. As you may surmise, I'm pretty much 
of
a newbie at J. The only place where I could find any information about error
messages was in "J for C Programmers", where it states: " index error You 
attempted
to access an element outside the bounds of an array." How do I not do this?
I have both the spiral-bound and electronic editions of your book and really 
like it.
I think that it will help me to learn J, because the many experiments and
exercises make you use the language rather than just read about it. The subject 
matter is also of great interest.
Thank you.
Charles
                                          
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to