Hi Oleg, Thanks for testing. At least I know that I'm the only one who has a problem. :)
I'll be testing Raul's suggestion that I may have redefined cut ... which is most likely. ;) r/alex -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Oleg Kobchenko Sent: Thursday, August 14, 2008 11:11 PM To: Programming forum Subject: Re: [Jprogramming] Script Error in general/pcall/ole32 I verified different ways of loading the scripts including previous post. Everything's fine. ----- Original Message ---- > From: Alex Rufon <[EMAIL PROTECTED]> > To: Programming forum <[email protected]> > Sent: Thursday, August 14, 2008 6:57:53 AM > Subject: RE: [Jprogramming] Script Error in general/pcall/ole32 > > I think there is something wrong with my setup. > > If you open a new J session and type the following script, you are going > to get a script error: > require 'general/pcall/progress' > > BUT, if you create a new edit window (CTRL+N) and paste the following > script (from > http://www.jsoftware.com/jwiki/Guides/Windows_Progress_Dialog) > require 'general/pcall/progress' > T=: 1 > > p=. progress 'Testing Progress from J' > > start__p '' > cancelmsg__p 'Please wait until J finishes ...' > 1 line__p 'Progress reporting dialog' > timer__p'' > delay__p 2*T > > 10 progress__p 0 > 2 line__p 'Initializing ...' > delay__p 2*T > > 10 progress__p 2 > 2 line__p 'Processed 1' > delay__p 1*T > > 10 progress__p 8 > 2 line__p 'Processed 2' > delay__p 1*T > > 10 progress__p 10 > 2 line__p 'Finished' > delay__p 2*T > > destroy__p '' > > then execute it by pressing CTRL+W, there will be no error and typing > the first command will not fail anymore. > > Head scratching time! :D Anybody knows what I'm doing wrong? Thanks. > > r/alex > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Alex Rufon > Sent: Thursday, August 14, 2008 6:43 PM > To: Programming forum > Subject: [Jprogramming] Script Error in general/pcall/ole32 > > Hi. > > Can anybody please try the following script on your copy of J602a? > > load 'general/pcall/ole32' > |syntax error: script > | VTSTR=: ;<@cut;._2(0 :0) > |[-164] C:\j602\addons\general\pcall\ole32.ijs > > I'm getting a syntax error on my copy which is a fully patch package. > But this is a bit erratic. Sometimes it works. Hmmm. > > Thanks. > > r/alex > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
