The full path of your script look strange in that there is a space
before j602-user, If that really the correct form, check inside your
ijx session by

fexist 'C:\Documents .... cfgui.ijs'

Or try move your script to c:\cfgui.ijs

Сбт, 16 Июн 2012, adam dunne писал(а):
> No joy yet;sure nearly there;got numerous J shortcuts to work before I
> wiped my Desktop.
> 
> With line
> "C:\Documents and Settings\Anand\j602\bin\j.exe"  "C:\Documents and
> Settings\Anand\j602\ j602-user\temp\cfgui.ijs"
> Get
> |interface error: script
> |       0!:0 y[4!:55<'y'
> With line
> "C:\Documents and Settings\Anand\j602\bin\jconsole.exe"  "C:\Documents
> and Settings\Anand\j602\ j602-user\temp\cfgui.ijs"
> Get same error.
> 
> Below is script:
> NB.Test example Form Editor from example in Primer
> 
> CFGUI=: 0 : 0
> pc cfgui;
> xywh 8 7 46 11;cc ccstatic static;cn "centigrade";
> xywh 46 8 39 12;cc cid edit;
> xywh 7 22 37 11;cc fstatic static;cn "fahrenheit";
> xywh 45 22 42 12;cc fid edit;
> pas 6 6;pcenter;
> rem form end;
> )
> 
> cfgui_run=: 3 : 0
> wd CFGUI
> NB. initialize form here
> wd 'pshow;'
> )
> 
> cfgui_close=: 3 : 0
> wd'pclose'
> )
> 
> cfgui_cid_button=: 3 : 0
> t=.0".cid
> t=.fahrenheit t
> t=.":t
> wd'set fid *' , t
> )
> centigrade =: 3 : 0
> t1 =. y - 32
> t2 =. t1 * 5
> t3 =. t2 % 9
> )
> fahrenheit =: 3 : 0
> t1 =. y * 9
> t2 =. t1 % 5
> t3 =. t2 + 32
> )
> 
> cfgui_fid_button=: 3 : 0
> no_f=.0".fid
> c=.centigrade no_f
> str_c=.":c
> wd'set cid *',str_c
> )
> cfgui_run 0
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to