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>

Reply via email to