[Gambas-user] Information: Set a variable from Shell command

Mike Keehan mike_keehan at ...679...
Fri Dec 24 18:09:59 CET 2004


Peter wrote:
> Am Mittwoch, 22. Dezember 2004 15:37 schrieb Mike Keehan:
> 
>>This works:-
>>
>>
>>      Dim Svar as String
>>
>>      SHELL "who > /tmp/who.out" WAIT
>>      Svar = File.Load("/tmp/who.out") 
> 
>          KILL "/tmp/who.out"     ' (I am born in Prussia ;-) 
> 
>>Mike.
> 
> 
> Peter
> 
> 

Hehe. Merry Christmas.

Mike




More information about the User mailing list