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
