Have you tried
   pd 'save bmp " '  , pathname  , 'test2.bmp " 800 600'
rather than
   pd 'save bmp "pathname,'test2.bmp' " 800 600'
?
making the double quote (") part of the string

--- Den tirs 22/6/10 skrev David Vincent-Jones <[email protected]>:

Fra: David Vincent-Jones <[email protected]>
Emne: [Jprogramming] Plot Output
Til: "JSoftware" <[email protected]>
Dato: tirsdag 22. juni 2010 18.06

I am trying to introduce a 'pathname' into an plot output.
I have tried a few variations but with absolutely no success.

   pd 'reset'
   pd 10+?100#100
   pd 'show'
   pathname=:'/home/david/Desktop/'
   NB. pd 'save bmp "/home/david/Desktop/test1.bmp" 800 600' NB. WORKS
FINE
   pd 'save bmp "pathname,'test2.bmp' " 800 600'
|spelling error
|      pd 'save bmp "pathname,'test2.bmp' " 800 600'
|    
Could somebody clarify how can I solve the pathname problem?

Thank you;

David
 

----------------------------------------------------------------------
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