My bad. There was an error in the code used to schedule when things started and stopped. Hence nothing to do with the shell array as such ... except to note the difference between DOS and Linux shells.
----- Original Message ----- From: "Fargo Holiday" <[EMAIL PROTECTED]> To: "REALbasic NUG" <[email protected]> Sent: Wednesday, May 09, 2007 3:46 PM Subject: Re: Arrays of shells > I'm just curious, what was causing the timer based solution to fail? I > fiddled with a simple example for a bit and it seemed to work ok, but > I'm always on the lookout for new pitfalls. > > Thanks, > Fargo > > Adrian Platts wrote: >> Thanks arnaud. After more fiddling I got both versions to work, my original >> and your >> suggested version. I'm going to run with your suggestion though as it's >> more elegant. >> >> ----- Original Message ----- >> From: "Arnaud Nicolet" <[EMAIL PROTECTED]> >> To: "REALbasic NUG" <[email protected]> >> Sent: Wednesday, May 09, 2007 3:33 PM >> Subject: Re: Arrays of shells >> >> >> >>> Le 9 mai 07 à 21:17 Soir, Adrian Platts a écrit: >>> >>> >>>> [timer1] >>>> sh(x)=new shell >>>> sh(x).mode=1 >>>> sh(x).execute "meme 1.txt > out.htm" >>>> >>>> this does ... um absolutely nothing, nothing seems to execute. So >>>> I'm clearly still wrong. >>>> Any advice appreciated. >>>> >>> I'd do something like that: >>> >>> dim s As shell >>> s=new shell >>> s.mode=1 >>> s.execute "meme 1.txt > out.htm" >>> sh.append s 'sh is the property, array of shell >>> >>> so x does not have to be computed, as in your example. >>> >>> Does that work for you? >>> _______________________________________________ >>> >>> >> >> >> _______________________________________________ >> Unsubscribe or switch delivery mode: >> <http://www.realsoftware.com/support/listmanager/> >> >> Search the archives: >> <http://support.realsoftware.com/listarchives/lists.html> >> >> > _______________________________________________ > Unsubscribe or switch delivery mode: > <http://www.realsoftware.com/support/listmanager/> > > Search the archives: > <http://support.realsoftware.com/listarchives/lists.html> > > _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
