On Thu, Oct 13, 2011 at 6:46 AM, David Vaughan <[email protected]> wrote: > Hi, how do I go about writing a script? How does it differ from writing your > code in the browser? For example, say I wanted a script to test the primality > of i.10, how would it look?
"script" is a potentially ambiguous term. One meaning of script is a multi-line definition in J: example=: 3 :0 smoutput 'this is a script' y ) If this is not what you want, please describe what you are trying to achieve and where it goes awry. Thanks, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
