Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-02 Thread Mark Miesfeld
On Thu, Apr 2, 2009 at 7:10 AM, Gil Barmwater gbarmwa...@alum.rpi.edu wrote:

 Not sure if I did something wrong

No, nothing wrong.  I must have made that snapshot while we were still
working on the docs.  Since the build machine is not reachable by most
people, I put an up-to-date set of docs on SourceForge this morning.

Thanks Gil.

--
Mark Miesfeld

--
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-02 Thread Mark Miesfeld
On Thu, Apr 2, 2009 at 7:55 AM, Mark Miesfeld miesf...@gmail.com wrote:
 On Thu, Apr 2, 2009 at 7:10 AM, Gil Barmwater gbarmwa...@alum.rpi.edu wrote:

 Not sure if I did something wrong

 No, nothing wrong.  I must have made that snapshot while we were still
 working on the docs.  Since the build machine is not reachable by most
 people, I put an up-to-date set of docs on SourceForge this morning.

That's a typo above, it should be I will put ...  I'm building the docs now.

--
Mark Miesfeld

--
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-02 Thread Mark Miesfeld
On Thu, Apr 2, 2009 at 8:13 AM, Mark Miesfeld miesf...@gmail.com wrote:
 On Thu, Apr 2, 2009 at 7:55 AM, Mark Miesfeld miesf...@gmail.com wrote:
 On Thu, Apr 2, 2009 at 7:10 AM, Gil Barmwater gbarmwa...@alum.rpi.edu 
 wrote:

 Not sure if I did something wrong

 No, nothing wrong.  I must have made that snapshot while we were still
 working on the docs.  Since the build machine is not reachable by most
 people, I put an up-to-date set of docs on SourceForge this morning.

 That's a typo above, it should be I will put ...  I'm building the docs now.

Okay, the updated docs are on SourceForge.  (Not sure how long it
takes for them to propagate to all the mirrors, but I could download
them now.)

--
Mark Miesfeld

--
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-02 Thread Mark Miesfeld
On Thu, Apr 2, 2009 at 10:20 AM, Gil Barmwater gbarmwa...@alum.rpi.edu wrote:

 Thanks Mark!  I just downloaded them and verified that the ReadMe and
 Reference PDFs are now current.  (Also noted some minor typos in the
 ReadMe for which I will open a tracker item later.)

There are probably hundreds of typos / misspellings in the stuff I
did.  Any help in finding them is much appreciated.  grin

When I was a kid, my dream was to grow up and become a Technical
Document Writer.  But, then when I grew up and went to Technical
Document Writer school, I found out I didn't really like it.  So, I
changed my dream.  I decided then, what I really wanted to do was grow
up and become a Software Developer, and have a real technical writer
document my software for me.

--
Mark Miesfeld

--
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-02 Thread Mike Cowlishaw
 When I was a kid, my dream was to grow up and become a Technical
 Document Writer.  But, then when I grew up and went to Technical
 Document Writer school, I found out I didn't really like it.  So, I
 changed my dream.  I decided then, what I really wanted to do was grow
 up and become a Software Developer, and have a real technical writer
 document my software for me.

Even better: write the docs first (gets them out of the way).  Let other 
people look at them too.  When they're done, and as good as you think 
they'll get, then develop the software to match.  Saves sooo much 
time!

Mike





Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU







--
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Sahananda (Jon) Wolfers
OK,

I have added three trackers.  If life ever gets back to normal I will attend
to this.

Jon

2009/4/1 Rick McGuire object.r...@gmail.com

 With only one argument, it is correct, but not generally good
 practice.  This would be a good thing to update.

 Rick

 2009/4/1 Sahananda (Jon) Wolfers sahana...@windhorse.biz:
  Hi,
 
  during a long train journey I found over 100 examples in our manuals,
  oodialog classes and sample code of usage of
 
  call function(parms)
 
  is that usage ever correct?
  Would it be usefull to purge these examples?
  If so I'm happy to open a tracker.
 
  list is below - as I had no internet available, some of these may have
 been
  corrected in the latest revision.
 
  Jon
 
  oodialog manual
  section 4.1.8
  else call ErrorMessage(Could not start dialog)
  section 10.2.10
  call SleepMS(3000) /* 3 seconds */
  section 10.2.11
  call WinTimer(WAIT,tid) /* wait... */
  section 17.2.20
  call InfoDialog(Column Title :  info.!Textdx,
  section 17.2.21
  call InfoDialog(curList~ColumnWidth(column))
  section 17.2.36
  call InfoDialog(Item Text :  itemInfo.!Textdx,
 
  rexxref manual
  section 8.82
  if i  0 then call SysWinSetDefaultPrinter(list.i)
 
  oorexx\main\trunk\extensions\platform\windows\oodialog\dlgext.cls 40 KB
  06/03/2009 07:40:53
  77   call sleepms(20)
  98   else call sleepms(sleeptime) /* to yield cpu */
  1077 call DumpAdmin(ADMDUMP)
 
  oorexx\main\trunk\extensions\platform\windows\oodialog\dyndlg.cls 45 KB
  06/03/2009 07:40:53
  93if ptr = 0 then call HandleDlg(STOP)
  132if hnd \= 0 then forward message LoadItems continue; else call
  HandleDlg(STOP)
 
  oorexx\main\trunk\extensions\platform\windows\oodialog\plbdlg.cls 47 KB
  06/03/2009 07:40:53
  110call ErrorMessage(msgname ||  is not a method of  || self)
 
  oorexx\main\trunk\extensions\platform\windows\oodialog\stddlg.cls 14 KB
  06/03/2009 07:40:53
  145   call InfoMessage(You did not enter numerical data)
 
  oorexx\main\trunk\samples\sfserver.rex 6 KB 06/03/2009 07:41:13
  78 call sockclose(socket)
 
  oorexx\main\trunk\samples\unix\api\wpipe3\aspitest3.rex 5 KB 05/02/2009
  07:50:56
  63 call Aspi_Read_All_Elements_Of_A_Specific_Stem_From_REXX_VP(x.0)
 
  oorexx\main\trunk\samples\windows\api\wpipe\wpipe3\apitest3.rex 5 KB
  06/03/2009 07:41:08
  61 call Api_Read_All_Elements_Of_A_Specific_Stem_From_REXX_VP(x.0)
 
  oorexx\main\trunk\samples\windows\ole\apps\samp08.rex 7 KB 05/02/2009
  07:50:58
  124 call syssleep(2)
 
  oorexx\main\trunk\samples\windows\ole\apps\samp12.rex 6 KB 05/02/2009
  07:50:58
  58   call syssleep(2)
 
  oorexx\main\trunk\samples\windows\ole\wmi\services.rex 10 KB 05/02/2009
  07:50:59
  90   call SysSleep(1)
  127   call SysSleep(1)
  139   call SysSleep(1)
  151   call SysSleep(1)
 
  oorexx\main\trunk\samples\windows\oodialog\ftyperex.rex 9 KB 05/02/2009
  07:51:36
  122  call ErrorMessage(Ftype is curently set to rexxhide.exe. You
 must
  use the OODIALOG interface.)
 
  oorexx\main\trunk\samples\windows\oodialog\oobandit.rex 9 KB 05/02/2009
  07:51:36
  122 call SleepMS(sleep)
  178   call sleepMS(1000)
  196call Play(byebye.wav)
 
  oorexx\main\trunk\samples\windows\oodialog\oodlist.rex 13 KB 05/02/2009
  07:51:36
  209   call InfoDialog(Column Title :  info.!Textdx,
  347 call InfoMessage(Last Name must be Specified !)
 
  oorexx\main\trunk\samples\windows\oodialog\oodraw.rex 26 KB 05/02/2009
  07:51:36
  103   call sleepms(500)
  119   call sleepms(500)
  127call sleepms(1000)
  185call sleepms(2000)
  221  call sleepms(2000)
  247call sleepms(2000)
  268  call sleepms(2000)
  286call sleepms(1000)
  327call sleepms(1000)
  363call sleepms(1000)
  395 call sleepms(2000)
  464call sleepms(2000)
  474call sleepms(2000)
  566  call sleepms(2000)
 
  oorexx\main\trunk\samples\windows\oodialog\oodtree.rex 13 KB 05/02/2009
  07:51:36
  137   call InfoMessage(Data file  bmpFile  does not exist)
  142   call InfoMessage(Data file  treefile  does not exist !)
  147   call InfoMessage(Data file  itemFile  does not exist)
  274 call InfoMessage(No item selected !)
  290 call InfoMessage(No item selected !)
  312   call InfoDialog( 'The selected item 'itemInfo.!Text' has'
 children
  'children. The index for the icon is 'itemInfo.!Image'',
  317   call InfoMessage(No help available.)
 
  oorexx\main\trunk\samples\windows\oodialog\oopet.rex 7 KB 05/02/2009
  07:51:36
  99   if beenhelped=0 then call Play(clap.wav)
  146call Play(help.wav)
 
  oorexx\main\trunk\samples\windows\oodialog\oopet1.rex 7 KB 05/02/2009
  07:51:36
  99   if beenhelped=0 then call Play(clap.wav)
  146call Play(help.wav)
 
  oorexx\main\trunk\samples\windows\oodialog\oophil.rex 18 KB 05/02/2009
  07:51:36
  309 call sleepms(2000)
  361   if ds  0 then call sleepms(ds*100)
  372 call 

Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Rick McGuire
With only one argument, it is correct, but not generally good
practice.  This would be a good thing to update.

Rick

2009/4/1 Sahananda (Jon) Wolfers sahana...@windhorse.biz:
 Hi,

 during a long train journey I found over 100 examples in our manuals,
 oodialog classes and sample code of usage of

 call function(parms)

 is that usage ever correct?
 Would it be usefull to purge these examples?
 If so I'm happy to open a tracker.

 list is below - as I had no internet available, some of these may have been
 corrected in the latest revision.

 Jon

 oodialog manual
 section 4.1.8
 else call ErrorMessage(Could not start dialog)
 section 10.2.10
 call SleepMS(3000) /* 3 seconds */
 section 10.2.11
 call WinTimer(WAIT,tid) /* wait... */
 section 17.2.20
 call InfoDialog(Column Title :  info.!Textdx,
 section 17.2.21
 call InfoDialog(curList~ColumnWidth(column))
 section 17.2.36
 call InfoDialog(Item Text :  itemInfo.!Textdx,

 rexxref manual
 section 8.82
 if i  0 then call SysWinSetDefaultPrinter(list.i)

 oorexx\main\trunk\extensions\platform\windows\oodialog\dlgext.cls 40 KB
 06/03/2009 07:40:53
 77   call sleepms(20)
 98   else call sleepms(sleeptime) /* to yield cpu */
 1077 call DumpAdmin(ADMDUMP)

 oorexx\main\trunk\extensions\platform\windows\oodialog\dyndlg.cls 45 KB
 06/03/2009 07:40:53
 93    if ptr = 0 then call HandleDlg(STOP)
 132    if hnd \= 0 then forward message LoadItems continue; else call
 HandleDlg(STOP)

 oorexx\main\trunk\extensions\platform\windows\oodialog\plbdlg.cls 47 KB
 06/03/2009 07:40:53
 110    call ErrorMessage(msgname ||  is not a method of  || self)

 oorexx\main\trunk\extensions\platform\windows\oodialog\stddlg.cls 14 KB
 06/03/2009 07:40:53
 145   call InfoMessage(You did not enter numerical data)

 oorexx\main\trunk\samples\sfserver.rex 6 KB 06/03/2009 07:41:13
 78 call sockclose(socket)

 oorexx\main\trunk\samples\unix\api\wpipe3\aspitest3.rex 5 KB 05/02/2009
 07:50:56
 63 call Aspi_Read_All_Elements_Of_A_Specific_Stem_From_REXX_VP(x.0)

 oorexx\main\trunk\samples\windows\api\wpipe\wpipe3\apitest3.rex 5 KB
 06/03/2009 07:41:08
 61 call Api_Read_All_Elements_Of_A_Specific_Stem_From_REXX_VP(x.0)

 oorexx\main\trunk\samples\windows\ole\apps\samp08.rex 7 KB 05/02/2009
 07:50:58
 124 call syssleep(2)

 oorexx\main\trunk\samples\windows\ole\apps\samp12.rex 6 KB 05/02/2009
 07:50:58
 58   call syssleep(2)

 oorexx\main\trunk\samples\windows\ole\wmi\services.rex 10 KB 05/02/2009
 07:50:59
 90   call SysSleep(1)
 127   call SysSleep(1)
 139   call SysSleep(1)
 151   call SysSleep(1)

 oorexx\main\trunk\samples\windows\oodialog\ftyperex.rex 9 KB 05/02/2009
 07:51:36
 122  call ErrorMessage(Ftype is curently set to rexxhide.exe. You must
 use the OODIALOG interface.)

 oorexx\main\trunk\samples\windows\oodialog\oobandit.rex 9 KB 05/02/2009
 07:51:36
 122 call SleepMS(sleep)
 178   call sleepMS(1000)
 196    call Play(byebye.wav)

 oorexx\main\trunk\samples\windows\oodialog\oodlist.rex 13 KB 05/02/2009
 07:51:36
 209   call InfoDialog(Column Title :  info.!Textdx,
 347 call InfoMessage(Last Name must be Specified !)

 oorexx\main\trunk\samples\windows\oodialog\oodraw.rex 26 KB 05/02/2009
 07:51:36
 103   call sleepms(500)
 119   call sleepms(500)
 127    call sleepms(1000)
 185    call sleepms(2000)
 221  call sleepms(2000)
 247    call sleepms(2000)
 268  call sleepms(2000)
 286    call sleepms(1000)
 327    call sleepms(1000)
 363    call sleepms(1000)
 395 call sleepms(2000)
 464    call sleepms(2000)
 474    call sleepms(2000)
 566  call sleepms(2000)

 oorexx\main\trunk\samples\windows\oodialog\oodtree.rex 13 KB 05/02/2009
 07:51:36
 137   call InfoMessage(Data file  bmpFile  does not exist)
 142   call InfoMessage(Data file  treefile  does not exist !)
 147   call InfoMessage(Data file  itemFile  does not exist)
 274 call InfoMessage(No item selected !)
 290 call InfoMessage(No item selected !)
 312   call InfoDialog( 'The selected item 'itemInfo.!Text' has' children
 'children. The index for the icon is 'itemInfo.!Image'',
 317   call InfoMessage(No help available.)

 oorexx\main\trunk\samples\windows\oodialog\oopet.rex 7 KB 05/02/2009
 07:51:36
 99   if beenhelped=0 then call Play(clap.wav)
 146    call Play(help.wav)

 oorexx\main\trunk\samples\windows\oodialog\oopet1.rex 7 KB 05/02/2009
 07:51:36
 99   if beenhelped=0 then call Play(clap.wav)
 146    call Play(help.wav)

 oorexx\main\trunk\samples\windows\oodialog\oophil.rex 18 KB 05/02/2009
 07:51:36
 309 call sleepms(2000)
 361   if ds  0 then call sleepms(ds*100)
 372 call sleepms(300)
 376 call sleepms(200)
 379  call sleepms(ds//10 * 100)

 oorexx\main\trunk\samples\windows\oodialog\oovideo.rex 7 KB 05/02/2009
 07:51:36
 128   call Play(wav\take.wav)

 oorexx\main\trunk\samples\windows\oodialog\oowalk2.rex 7 KB 05/02/2009
 07:51:36
 

Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Gil Barmwater
Jon,

Just curious how you were able to locate them all?  Any magic or did 
you just do some sort of brute force search?

I'll look at the tracker items and see if I can't help with the fixes.

Rick, David and Mark - I have been asked to present ooRexx 4.0 new 
function at the Symposium and, because I think it is important to have 
an update for those in attendence, have tentatively agreed.  Rather than 
start from scratch, if any of you already have an outline to get me 
started, it would be a big help.  Thanks in advance for any help!

Sahananda (Jon) Wolfers wrote:
 OK,
 
 I have added three trackers.  If life ever gets back to normal I will 
 attend to this.
 
 Jon
 
 2009/4/1 Rick McGuire object.r...@gmail.com mailto:object.r...@gmail.com
 
 With only one argument, it is correct, but not generally good
 practice.  This would be a good thing to update.
 
 Rick
 
 2009/4/1 Sahananda (Jon) Wolfers sahana...@windhorse.biz
 mailto:sahana...@windhorse.biz:
   Hi,
  
   during a long train journey I found over 100 examples in our manuals,
   oodialog classes and sample code of usage of
  
   call function(parms)
  
   is that usage ever correct?
   Would it be usefull to purge these examples?
   If so I'm happy to open a tracker.
  
   list is below - as I had no internet available, some of these may
 have been
   corrected in the latest revision.
  
   Jon
  
   oodialog manual
   section 4.1.8
   else call ErrorMessage(Could not start dialog)
   section 10.2.10
   call SleepMS(3000) /* 3 seconds */
   section 10.2.11
   call WinTimer(WAIT,tid) /* wait... */
   section 17.2.20
   call InfoDialog(Column Title :  info.!Textdx,
   section 17.2.21
   call InfoDialog(curList~ColumnWidth(column))
   section 17.2.36
   call InfoDialog(Item Text :  itemInfo.!Textdx,
  
   rexxref manual
   section 8.82
   if i  0 then call SysWinSetDefaultPrinter(list.i)
  
   oorexx\main\trunk\extensions\platform\windows\oodialog\dlgext.cls
 40 KB
   06/03/2009 07:40:53
   77   call sleepms(20)
   98   else call sleepms(sleeptime) /* to yield cpu */
   1077 call DumpAdmin(ADMDUMP)
  
   oorexx\main\trunk\extensions\platform\windows\oodialog\dyndlg.cls
 45 KB
   06/03/2009 07:40:53
   93if ptr = 0 then call HandleDlg(STOP)
   132if hnd \= 0 then forward message LoadItems continue;
 else call
   HandleDlg(STOP)
  
   oorexx\main\trunk\extensions\platform\windows\oodialog\plbdlg.cls
 47 KB
   06/03/2009 07:40:53
   110call ErrorMessage(msgname ||  is not a method of  || self)
  
   oorexx\main\trunk\extensions\platform\windows\oodialog\stddlg.cls
 14 KB
   06/03/2009 07:40:53
   145   call InfoMessage(You did not enter numerical data)
  
   oorexx\main\trunk\samples\sfserver.rex 6 KB 06/03/2009 07:41:13
   78 call sockclose(socket)
  
   oorexx\main\trunk\samples\unix\api\wpipe3\aspitest3.rex 5 KB
 05/02/2009
   07:50:56
   63 call Aspi_Read_All_Elements_Of_A_Specific_Stem_From_REXX_VP(x.0)
  
   oorexx\main\trunk\samples\windows\api\wpipe\wpipe3\apitest3.rex 5 KB
   06/03/2009 07:41:08
   61 call Api_Read_All_Elements_Of_A_Specific_Stem_From_REXX_VP(x.0)
  
   oorexx\main\trunk\samples\windows\ole\apps\samp08.rex 7 KB 05/02/2009
   07:50:58
   124 call syssleep(2)
  
   oorexx\main\trunk\samples\windows\ole\apps\samp12.rex 6 KB 05/02/2009
   07:50:58
   58   call syssleep(2)
  
   oorexx\main\trunk\samples\windows\ole\wmi\services.rex 10 KB
 05/02/2009
   07:50:59
   90   call SysSleep(1)
   127   call SysSleep(1)
   139   call SysSleep(1)
   151   call SysSleep(1)
  
   oorexx\main\trunk\samples\windows\oodialog\ftyperex.rex 9 KB
 05/02/2009
   07:51:36
   122  call ErrorMessage(Ftype is curently set to
 rexxhide.exe. You must
   use the OODIALOG interface.)
  
   oorexx\main\trunk\samples\windows\oodialog\oobandit.rex 9 KB
 05/02/2009
   07:51:36
   122 call SleepMS(sleep)
   178   call sleepMS(1000)
   196call Play(byebye.wav)
  
   oorexx\main\trunk\samples\windows\oodialog\oodlist.rex 13 KB
 05/02/2009
   07:51:36
   209   call InfoDialog(Column Title :  info.!Textdx,
   347 call InfoMessage(Last Name must be Specified !)
  
   oorexx\main\trunk\samples\windows\oodialog\oodraw.rex 26 KB
 05/02/2009
   07:51:36
   103   call sleepms(500)
   119   call sleepms(500)
   127call sleepms(1000)
   185call sleepms(2000)
   221  call sleepms(2000)
   247call sleepms(2000)
   268  call sleepms(2000)
   286call sleepms(1000)
 

Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Rick McGuire
Well, starting with the readme is probably a good jumping off point.
That will at least give you a set of specific questions you can then
ask about the features.  You might want to crib bits of David's API
talk from last year, as the new APIs are a major part of what's new.

Rick

On Wed, Apr 1, 2009 at 9:11 AM, Gil Barmwater gbarmwa...@alum.rpi.edu wrote:
 Jon,

 Just curious how you were able to locate them all?  Any magic or did
 you just do some sort of brute force search?

 I'll look at the tracker items and see if I can't help with the fixes.

 Rick, David and Mark - I have been asked to present ooRexx 4.0 new
 function at the Symposium and, because I think it is important to have
 an update for those in attendence, have tentatively agreed.  Rather than
 start from scratch, if any of you already have an outline to get me
 started, it would be a big help.  Thanks in advance for any help!

 Sahananda (Jon) Wolfers wrote:
 OK,

 I have added three trackers.  If life ever gets back to normal I will
 attend to this.

 Jon

 2009/4/1 Rick McGuire object.r...@gmail.com mailto:object.r...@gmail.com

     With only one argument, it is correct, but not generally good
     practice.  This would be a good thing to update.

     Rick

     2009/4/1 Sahananda (Jon) Wolfers sahana...@windhorse.biz
     mailto:sahana...@windhorse.biz:
       Hi,
      
       during a long train journey I found over 100 examples in our manuals,
       oodialog classes and sample code of usage of
      
       call function(parms)
      
       is that usage ever correct?
       Would it be usefull to purge these examples?
       If so I'm happy to open a tracker.
      
       list is below - as I had no internet available, some of these may
     have been
       corrected in the latest revision.
      
       Jon
      
       oodialog manual
       section 4.1.8
       else call ErrorMessage(Could not start dialog)
       section 10.2.10
       call SleepMS(3000) /* 3 seconds */
       section 10.2.11
       call WinTimer(WAIT,tid) /* wait... */
       section 17.2.20
       call InfoDialog(Column Title :  info.!Textdx,
       section 17.2.21
       call InfoDialog(curList~ColumnWidth(column))
       section 17.2.36
       call InfoDialog(Item Text :  itemInfo.!Textdx,
      
       rexxref manual
       section 8.82
       if i  0 then call SysWinSetDefaultPrinter(list.i)
      
       oorexx\main\trunk\extensions\platform\windows\oodialog\dlgext.cls
     40 KB
       06/03/2009 07:40:53
       77       call sleepms(20)
       98           else call sleepms(sleeptime) /* to yield cpu */
       1077         call DumpAdmin(ADMDUMP)
      
       oorexx\main\trunk\extensions\platform\windows\oodialog\dyndlg.cls
     45 KB
       06/03/2009 07:40:53
       93    if ptr = 0 then call HandleDlg(STOP)
       132    if hnd \= 0 then forward message LoadItems continue;
     else call
       HandleDlg(STOP)
      
       oorexx\main\trunk\extensions\platform\windows\oodialog\plbdlg.cls
     47 KB
       06/03/2009 07:40:53
       110    call ErrorMessage(msgname ||  is not a method of  || self)
      
       oorexx\main\trunk\extensions\platform\windows\oodialog\stddlg.cls
     14 KB
       06/03/2009 07:40:53
       145       call InfoMessage(You did not enter numerical data)
      
       oorexx\main\trunk\samples\sfserver.rex 6 KB 06/03/2009 07:41:13
       78         call sockclose(socket)
      
       oorexx\main\trunk\samples\unix\api\wpipe3\aspitest3.rex 5 KB
     05/02/2009
       07:50:56
       63 call Aspi_Read_All_Elements_Of_A_Specific_Stem_From_REXX_VP(x.0)
      
       oorexx\main\trunk\samples\windows\api\wpipe\wpipe3\apitest3.rex 5 KB
       06/03/2009 07:41:08
       61 call Api_Read_All_Elements_Of_A_Specific_Stem_From_REXX_VP(x.0)
      
       oorexx\main\trunk\samples\windows\ole\apps\samp08.rex 7 KB 05/02/2009
       07:50:58
       124 call syssleep(2)
      
       oorexx\main\trunk\samples\windows\ole\apps\samp12.rex 6 KB 05/02/2009
       07:50:58
       58   call syssleep(2)
      
       oorexx\main\trunk\samples\windows\ole\wmi\services.rex 10 KB
     05/02/2009
       07:50:59
       90       call SysSleep(1)
       127       call SysSleep(1)
       139       call SysSleep(1)
       151       call SysSleep(1)
      
       oorexx\main\trunk\samples\windows\oodialog\ftyperex.rex 9 KB
     05/02/2009
       07:51:36
       122      call ErrorMessage(Ftype is curently set to
     rexxhide.exe. You must
       use the OODIALOG interface.)
      
       oorexx\main\trunk\samples\windows\oodialog\oobandit.rex 9 KB
     05/02/2009
       07:51:36
       122             call SleepMS(sleep)
       178       call sleepMS(1000)
       196    call Play(byebye.wav)
      
       oorexx\main\trunk\samples\windows\oodialog\oodlist.rex 13 KB
     05/02/2009
       07:51:36
       209   call InfoDialog(Column Title :  info.!Textdx,
       347     call InfoMessage(Last Name must be Specified !)
      
       

Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Sahananda (Jon) Wolfers
2009/4/1 Gil Barmwater gbarmwa...@alum.rpi.edu

 Jon,

 Just curious how you were able to locate them all?  Any magic or did
 you just do some sort of brute force search?


As far as the code items went, I have a copy of the SVN on my laptop and
used Beyond Compare from www.scootersoftware.com - an invaluable part of my
toolkit - and did a regular expression search for 'call.*/('

As far as the pdf's went it was much harder.  I visually scanned every
occurance of 'call' in the manuals.

Jon



 I'll look at the tracker items and see if I can't help with the fixes.

 Rick, David and Mark - I have been asked to present ooRexx 4.0 new
 function at the Symposium and, because I think it is important to have
 an update for those in attendence, have tentatively agreed.  Rather than
 start from scratch, if any of you already have an outline to get me
 started, it would be a big help.  Thanks in advance for any help!

 Sahananda (Jon) Wolfers wrote:
  OK,
 
  I have added three trackers.  If life ever gets back to normal I will
  attend to this.
 
  Jon
 
  2009/4/1 Rick McGuire object.r...@gmail.com mailto:
 object.r...@gmail.com
 
  With only one argument, it is correct, but not generally good
  practice.  This would be a good thing to update.
 
  Rick
 
  2009/4/1 Sahananda (Jon) Wolfers sahana...@windhorse.biz
  mailto:sahana...@windhorse.biz:
Hi,
   
during a long train journey I found over 100 examples in our
 manuals,
oodialog classes and sample code of usage of
   
call function(parms)
   
is that usage ever correct?
Would it be usefull to purge these examples?
If so I'm happy to open a tracker.
   
list is below - as I had no internet available, some of these may
  have been
corrected in the latest revision.
   
Jon
   
oodialog manual
section 4.1.8
else call ErrorMessage(Could not start dialog)
section 10.2.10
call SleepMS(3000) /* 3 seconds */
section 10.2.11
call WinTimer(WAIT,tid) /* wait... */
section 17.2.20
call InfoDialog(Column Title :  info.!Textdx,
section 17.2.21
call InfoDialog(curList~ColumnWidth(column))
section 17.2.36
call InfoDialog(Item Text :  itemInfo.!Textdx,
   
rexxref manual
section 8.82
if i  0 then call SysWinSetDefaultPrinter(list.i)
   
oorexx\main\trunk\extensions\platform\windows\oodialog\dlgext.cls
  40 KB
06/03/2009 07:40:53
77   call sleepms(20)
98   else call sleepms(sleeptime) /* to yield cpu */
1077 call DumpAdmin(ADMDUMP)
   
oorexx\main\trunk\extensions\platform\windows\oodialog\dyndlg.cls
  45 KB
06/03/2009 07:40:53
93if ptr = 0 then call HandleDlg(STOP)
132if hnd \= 0 then forward message LoadItems continue;
  else call
HandleDlg(STOP)
   
oorexx\main\trunk\extensions\platform\windows\oodialog\plbdlg.cls
  47 KB
06/03/2009 07:40:53
110call ErrorMessage(msgname ||  is not a method of  ||
 self)
   
oorexx\main\trunk\extensions\platform\windows\oodialog\stddlg.cls
  14 KB
06/03/2009 07:40:53
145   call InfoMessage(You did not enter numerical data)
   
oorexx\main\trunk\samples\sfserver.rex 6 KB 06/03/2009 07:41:13
78 call sockclose(socket)
   
oorexx\main\trunk\samples\unix\api\wpipe3\aspitest3.rex 5 KB
  05/02/2009
07:50:56
63 call
 Aspi_Read_All_Elements_Of_A_Specific_Stem_From_REXX_VP(x.0)
   
oorexx\main\trunk\samples\windows\api\wpipe\wpipe3\apitest3.rex 5
 KB
06/03/2009 07:41:08
61 call
 Api_Read_All_Elements_Of_A_Specific_Stem_From_REXX_VP(x.0)
   
oorexx\main\trunk\samples\windows\ole\apps\samp08.rex 7 KB
 05/02/2009
07:50:58
124 call syssleep(2)
   
oorexx\main\trunk\samples\windows\ole\apps\samp12.rex 6 KB
 05/02/2009
07:50:58
58   call syssleep(2)
   
oorexx\main\trunk\samples\windows\ole\wmi\services.rex 10 KB
  05/02/2009
07:50:59
90   call SysSleep(1)
127   call SysSleep(1)
139   call SysSleep(1)
151   call SysSleep(1)
   
oorexx\main\trunk\samples\windows\oodialog\ftyperex.rex 9 KB
  05/02/2009
07:51:36
122  call ErrorMessage(Ftype is curently set to
  rexxhide.exe. You must
use the OODIALOG interface.)
   
oorexx\main\trunk\samples\windows\oodialog\oobandit.rex 9 KB
  05/02/2009
07:51:36
122 call SleepMS(sleep)
178   call sleepMS(1000)
196call Play(byebye.wav)
   
oorexx\main\trunk\samples\windows\oodialog\oodlist.rex 13 KB
  05/02/2009
07:51:36
  

Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Mark Miesfeld
2009/4/1 Sahananda (Jon) Wolfers sahana...@windhorse.biz:
 2009/4/1 Gil Barmwater gbarmwa...@alum.rpi.edu

 Jon,

 Just curious how you were able to locate them all?  Any magic or did
 you just do some sort of brute force search?

 As far as the code items went, I have a copy of the SVN on my laptop and
 used Beyond Compare from www.scootersoftware.com - an invaluable part of my
 toolkit - and did a regular expression search for 'call.*/('

 As far as the pdf's went it was much harder.  I visually scanned every
 occurance of 'call' in the manuals.

Jon, you probably could have used Beyond Compare to search the doc
*.sgml files.  I use SlickEdit's regular expression search to find all
occurrences of stuff in the docs all the time.

--
Mark Miesfeld

--
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Mark Miesfeld
On Wed, Apr 1, 2009 at 6:11 AM, Gil Barmwater gbarmwa...@alum.rpi.edu wrote:

 Rick, David and Mark - I have been asked to present ooRexx 4.0 new
 function at the Symposium and, because I think it is important to have
 an update for those in attendence, have tentatively agreed.  Rather than
 start from scratch, if any of you already have an outline to get me
 started, it would be a big help.  Thanks in advance for any help!

Gil,

As Rick said, the readme.pdf covers all the areas that changed pretty
well.  In addition there is tracker # 2489716  in the Documentation
tracker that might give you some insight.  The readme.pdf was
abstracted from that and some work Jean-Louis did to gather together
all the changes.

--
Mark Miesfeld

--
___
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel


Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Gil Barmwater
Interesting!  New tool to me but I suppose SlickEdit's reg.exp. search
would also work (but I've never actually used it).

I have the Ref. manual SVN checked out and updated but will need to
checkout the OODialog manual before I can attack the doc. tracker item.

Sahananda (Jon) Wolfers wrote:
 
 
 2009/4/1 Gil Barmwater gbarmwa...@alum.rpi.edu 
 mailto:gbarmwa...@alum.rpi.edu
 
 Jon,
 
 Just curious how you were able to locate them all?  Any magic or did
 you just do some sort of brute force search?
 
 
 As far as the code items went, I have a copy of the SVN on my laptop and 
 used Beyond Compare from www.scootersoftware.com 
 http://www.scootersoftware.com - an invaluable part of my toolkit - 
 and did a regular expression search for 'call.*/('
 
 As far as the pdf's went it was much harder.  I visually scanned every 
 occurance of 'call' in the manuals.
 
 Jon
  
 
 
 I'll look at the tracker items and see if I can't help with the fixes.
 
 Rick, David and Mark - I have been asked to present ooRexx 4.0 new
 function at the Symposium and, because I think it is important to have
 an update for those in attendence, have tentatively agreed.  Rather than
 start from scratch, if any of you already have an outline to get me
 started, it would be a big help.  Thanks in advance for any help!
 
 Sahananda (Jon) Wolfers wrote:
   OK,
  
   I have added three trackers.  If life ever gets back to normal I will
   attend to this.
  
   Jon
  
   2009/4/1 Rick McGuire object.r...@gmail.com
 mailto:object.r...@gmail.com mailto:object.r...@gmail.com
 mailto:object.r...@gmail.com
  
   With only one argument, it is correct, but not generally good
   practice.  This would be a good thing to update.
  
   Rick
  
   2009/4/1 Sahananda (Jon) Wolfers sahana...@windhorse.biz
 mailto:sahana...@windhorse.biz
   mailto:sahana...@windhorse.biz
 mailto:sahana...@windhorse.biz:
 Hi,

 during a long train journey I found over 100 examples in
 our manuals,
 oodialog classes and sample code of usage of

 call function(parms)

 is that usage ever correct?
 Would it be usefull to purge these examples?
 If so I'm happy to open a tracker.

 list is below - as I had no internet available, some of
 these may
   have been
 corrected in the latest revision.

 Jon

 oodialog manual
 section 4.1.8
 else call ErrorMessage(Could not start dialog)
 section 10.2.10
 call SleepMS(3000) /* 3 seconds */
 section 10.2.11
 call WinTimer(WAIT,tid) /* wait... */
 section 17.2.20
 call InfoDialog(Column Title :  info.!Textdx,
 section 17.2.21
 call InfoDialog(curList~ColumnWidth(column))
 section 17.2.36
 call InfoDialog(Item Text :  itemInfo.!Textdx,

 rexxref manual
 section 8.82
 if i  0 then call SysWinSetDefaultPrinter(list.i)


 oorexx\main\trunk\extensions\platform\windows\oodialog\dlgext.cls
   40 KB
 06/03/2009 07:40:53
 77   call sleepms(20)
 98   else call sleepms(sleeptime) /* to yield cpu */
 1077 call DumpAdmin(ADMDUMP)


 oorexx\main\trunk\extensions\platform\windows\oodialog\dyndlg.cls
   45 KB
 06/03/2009 07:40:53
 93if ptr = 0 then call HandleDlg(STOP)
 132if hnd \= 0 then forward message LoadItems continue;
   else call
 HandleDlg(STOP)


 oorexx\main\trunk\extensions\platform\windows\oodialog\plbdlg.cls
   47 KB
 06/03/2009 07:40:53
 110call ErrorMessage(msgname ||  is not a method of 
 || self)


 oorexx\main\trunk\extensions\platform\windows\oodialog\stddlg.cls
   14 KB
 06/03/2009 07:40:53
 145   call InfoMessage(You did not enter numerical data)

 oorexx\main\trunk\samples\sfserver.rex 6 KB 06/03/2009
 07:41:13
 78 call sockclose(socket)

 oorexx\main\trunk\samples\unix\api\wpipe3\aspitest3.rex 5 KB
   05/02/2009
 07:50:56
 63 call
 Aspi_Read_All_Elements_Of_A_Specific_Stem_From_REXX_VP(x.0)


 oorexx\main\trunk\samples\windows\api\wpipe\wpipe3\apitest3.rex 5 KB
 06/03/2009 07:41:08
 61 call
 Api_Read_All_Elements_Of_A_Specific_Stem_From_REXX_VP(x.0)

 

Re: [Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-04-01 Thread Sahananda (Jon) Wolfers
Appologies - I was talking rubbish again.
Beyond compare is a wonderful tool and I wouldn't do without it, but what I
used to do the regular expression search was filelocator pro (the paid-for
big brother of agent ransack) from http://www.mythicsoft.com/

Put it down to old age or overwork!

Jon

2009/4/1 Sahananda (Jon) Wolfers sahana...@windhorse.biz

 Wow,

 first of all I'm really impressed by the speed of your response Gil.

 Mark, I had thought of searching the sgml, but I find it quite hard working
 out where I am in it.  Had I known what a bore acrobat readers search
 facility was I probably would have gone for the sgml, but having started
 Ijust ploughed on to the end.

 Jon


 2009/4/1 Gil Barmwater gbarmwa...@alum.rpi.edu

 Interesting!  New tool to me but I suppose SlickEdit's reg.exp. search
 would also work (but I've never actually used it).

 I have the Ref. manual SVN checked out and updated but will need to
 checkout the OODialog manual before I can attack the doc. tracker item.

 Sahananda (Jon) Wolfers wrote:
 
 
  2009/4/1 Gil Barmwater gbarmwa...@alum.rpi.edu
  mailto:gbarmwa...@alum.rpi.edu
 
  Jon,
 
  Just curious how you were able to locate them all?  Any magic or
 did
  you just do some sort of brute force search?
 
 
  As far as the code items went, I have a copy of the SVN on my laptop and
  used Beyond Compare from www.scootersoftware.com
  http://www.scootersoftware.com - an invaluable part of my toolkit -
  and did a regular expression search for 'call.*/('
 
  As far as the pdf's went it was much harder.  I visually scanned every
  occurance of 'call' in the manuals.
 
  Jon
 
 
 
  I'll look at the tracker items and see if I can't help with the
 fixes.
 
  Rick, David and Mark - I have been asked to present ooRexx 4.0 new
  function at the Symposium and, because I think it is important to
 have
  an update for those in attendence, have tentatively agreed.  Rather
 than
  start from scratch, if any of you already have an outline to get me
  started, it would be a big help.  Thanks in advance for any help!
 
  Sahananda (Jon) Wolfers wrote:
OK,
   
I have added three trackers.  If life ever gets back to normal I
 will
attend to this.
   
Jon
   
2009/4/1 Rick McGuire object.r...@gmail.com
  mailto:object.r...@gmail.com mailto:object.r...@gmail.com
  mailto:object.r...@gmail.com
   
With only one argument, it is correct, but not generally
 good
practice.  This would be a good thing to update.
   
Rick
   
2009/4/1 Sahananda (Jon) Wolfers sahana...@windhorse.biz
  mailto:sahana...@windhorse.biz
mailto:sahana...@windhorse.biz
  mailto:sahana...@windhorse.biz:
  Hi,
 
  during a long train journey I found over 100 examples in
  our manuals,
  oodialog classes and sample code of usage of
 
  call function(parms)
 
  is that usage ever correct?
  Would it be usefull to purge these examples?
  If so I'm happy to open a tracker.
 
  list is below - as I had no internet available, some of
  these may
have been
  corrected in the latest revision.
 
  Jon
 
  oodialog manual
  section 4.1.8
  else call ErrorMessage(Could not start dialog)
  section 10.2.10
  call SleepMS(3000) /* 3 seconds */
  section 10.2.11
  call WinTimer(WAIT,tid) /* wait... */
  section 17.2.20
  call InfoDialog(Column Title :  info.!Textdx,
  section 17.2.21
  call InfoDialog(curList~ColumnWidth(column))
  section 17.2.36
  call InfoDialog(Item Text :  itemInfo.!Textdx,
 
  rexxref manual
  section 8.82
  if i  0 then call SysWinSetDefaultPrinter(list.i)
 
 
  oorexx\main\trunk\extensions\platform\windows\oodialog\dlgext.cls
40 KB
  06/03/2009 07:40:53
  77   call sleepms(20)
  98   else call sleepms(sleeptime) /* to yield cpu
 */
  1077 call DumpAdmin(ADMDUMP)
 
 
  oorexx\main\trunk\extensions\platform\windows\oodialog\dyndlg.cls
45 KB
  06/03/2009 07:40:53
  93if ptr = 0 then call HandleDlg(STOP)
  132if hnd \= 0 then forward message LoadItems
 continue;
else call
  HandleDlg(STOP)
 
 
  oorexx\main\trunk\extensions\platform\windows\oodialog\plbdlg.cls
47 KB
  06/03/2009 07:40:53
  110call ErrorMessage(msgname ||  is not a method of 
  || 

[Oorexx-devel] Examples using call with parenthesis - is it ever correct?

2009-03-31 Thread Sahananda (Jon) Wolfers
Hi,

during a long train journey I found over 100 examples in our manuals,
oodialog classes and sample code of usage of

call function(parms)

is that usage ever correct?
Would it be usefull to purge these examples?
If so I'm happy to open a tracker.

list is below - as I had no internet available, some of these may have been
corrected in the latest revision.

Jon

oodialog manual
section 4.1.8
else call ErrorMessage(Could not start dialog)
section 10.2.10
call SleepMS(3000) /* 3 seconds */
section 10.2.11
call WinTimer(WAIT,tid) /* wait... */
section 17.2.20
call InfoDialog(Column Title :  info.!Textdx,
section 17.2.21
call InfoDialog(curList~ColumnWidth(column))
section 17.2.36
call InfoDialog(Item Text :  itemInfo.!Textdx,

rexxref manual
section 8.82
if i  0 then call SysWinSetDefaultPrinter(list.i)

oorexx\main\trunk\extensions\platform\windows\oodialog\dlgext.cls 40 KB
06/03/2009 07:40:53
77   call sleepms(20)
98   else call sleepms(sleeptime) /* to yield cpu */
1077 call DumpAdmin(ADMDUMP)

oorexx\main\trunk\extensions\platform\windows\oodialog\dyndlg.cls 45 KB
06/03/2009 07:40:53
93if ptr = 0 then call HandleDlg(STOP)
132if hnd \= 0 then forward message LoadItems continue; else call
HandleDlg(STOP)

oorexx\main\trunk\extensions\platform\windows\oodialog\plbdlg.cls 47 KB
06/03/2009 07:40:53
110call ErrorMessage(msgname ||  is not a method of  || self)

oorexx\main\trunk\extensions\platform\windows\oodialog\stddlg.cls 14 KB
06/03/2009 07:40:53
145   call InfoMessage(You did not enter numerical data)

oorexx\main\trunk\samples\sfserver.rex 6 KB 06/03/2009 07:41:13
78 call sockclose(socket)

oorexx\main\trunk\samples\unix\api\wpipe3\aspitest3.rex 5 KB 05/02/2009
07:50:56
63 call Aspi_Read_All_Elements_Of_A_Specific_Stem_From_REXX_VP(x.0)

oorexx\main\trunk\samples\windows\api\wpipe\wpipe3\apitest3.rex 5 KB
06/03/2009 07:41:08
61 call Api_Read_All_Elements_Of_A_Specific_Stem_From_REXX_VP(x.0)

oorexx\main\trunk\samples\windows\ole\apps\samp08.rex 7 KB 05/02/2009
07:50:58
124 call syssleep(2)

oorexx\main\trunk\samples\windows\ole\apps\samp12.rex 6 KB 05/02/2009
07:50:58
58   call syssleep(2)

oorexx\main\trunk\samples\windows\ole\wmi\services.rex 10 KB 05/02/2009
07:50:59
90   call SysSleep(1)
127   call SysSleep(1)
139   call SysSleep(1)
151   call SysSleep(1)

oorexx\main\trunk\samples\windows\oodialog\ftyperex.rex 9 KB 05/02/2009
07:51:36
122  call ErrorMessage(Ftype is curently set to rexxhide.exe. You must
use the OODIALOG interface.)

oorexx\main\trunk\samples\windows\oodialog\oobandit.rex 9 KB 05/02/2009
07:51:36
122 call SleepMS(sleep)
178   call sleepMS(1000)
196call Play(byebye.wav)

oorexx\main\trunk\samples\windows\oodialog\oodlist.rex 13 KB 05/02/2009
07:51:36
209   call InfoDialog(Column Title :  info.!Textdx,
347 call InfoMessage(Last Name must be Specified !)

oorexx\main\trunk\samples\windows\oodialog\oodraw.rex 26 KB 05/02/2009
07:51:36
103   call sleepms(500)
119   call sleepms(500)
127call sleepms(1000)
185call sleepms(2000)
221  call sleepms(2000)
247call sleepms(2000)
268  call sleepms(2000)
286call sleepms(1000)
327call sleepms(1000)
363call sleepms(1000)
395 call sleepms(2000)
464call sleepms(2000)
474call sleepms(2000)
566  call sleepms(2000)

oorexx\main\trunk\samples\windows\oodialog\oodtree.rex 13 KB 05/02/2009
07:51:36
137   call InfoMessage(Data file  bmpFile  does not exist)
142   call InfoMessage(Data file  treefile  does not exist !)
147   call InfoMessage(Data file  itemFile  does not exist)
274 call InfoMessage(No item selected !)
290 call InfoMessage(No item selected !)
312   call InfoDialog( 'The selected item 'itemInfo.!Text' has' children
'children. The index for the icon is 'itemInfo.!Image'',
317   call InfoMessage(No help available.)

oorexx\main\trunk\samples\windows\oodialog\oopet.rex 7 KB 05/02/2009
07:51:36
99   if beenhelped=0 then call Play(clap.wav)
146call Play(help.wav)

oorexx\main\trunk\samples\windows\oodialog\oopet1.rex 7 KB 05/02/2009
07:51:36
99   if beenhelped=0 then call Play(clap.wav)
146call Play(help.wav)

oorexx\main\trunk\samples\windows\oodialog\oophil.rex 18 KB 05/02/2009
07:51:36
309 call sleepms(2000)
361   if ds  0 then call sleepms(ds*100)
372 call sleepms(300)
376 call sleepms(200)
379  call sleepms(ds//10 * 100)

oorexx\main\trunk\samples\windows\oodialog\oovideo.rex 7 KB 05/02/2009
07:51:36
128   call Play(wav\take.wav)

oorexx\main\trunk\samples\windows\oodialog\oowalk2.rex 7 KB 05/02/2009
07:51:36
159   call sleepms(1000)

oorexx\main\trunk\samples\windows\oodialog\oowalker.rex 7 KB 05/02/2009
07:51:36
169   call sleepms(1000)

oorexx\main\trunk\samples\windows\oodialog\propdemo.rex 20 KB 05/02/2009
07:51:36
144call sleepms(1)