David Vincent-Jones wrote:
> I have an application that reads a file of monthly pump flow data, it
> makes an analysis and outputs a summary and plot.
> 
> There is only one function but it requires loading files and plot.
> 
> I have developed it on my Ubuntu system and need to pass it over to
> several others who inevitably will run it on a Windows box. 
> 
> I could build it on somebodies Windows box ... I suppose :)

There should be little or no difference in the J code.

You will need to ensure that any data files read are named correctly for
the Windows environment. You can do this in the script by using the
IFUNIX flag:

  datafile=: IFUNIX pick 'e:\mydata\stuff';'/home/david/mydata/stuff'

You need to ensure that the J executables are called correctly, see
http://www.jsoftware.com/jwiki/Guides/Standalone_Applications .

It is probably easiest for you just to try the current script on a
Windows machine.

On a related topic: most new machines now support hardware
virtualization such as KVM, see
https://help.ubuntu.com/community/KVM . If you need to support Windows
but regularly use Ubuntu, then just create a Windows KVM. J will work
fine in such an environment.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to