[Gambas-user] Re: SHELL Command

Klaus Schumacher schumacher-k at ...20...
Sun Jan 11 17:08:45 CET 2004


Hi,
with the new syntax it works !
It's clear that I should read the change log first....
Thanks a lot for the help
Klaus


> Hi,
> I've done a small program which gives some informations about the acpi 
> of my laptop. The code to read the data is like the following:
> 
> PUBLIC SUB Timer1_Timer()
>   befehl = "acpi -V"
>   SHELL befehl FOR READ
> END
> 
> PUBLIC SUB process_write (Data AS String)
>    ' Temperatur ausfiltern
>    pos = Instr (Data, "degrees")
>    IF pos > 0 THEN therm  = Mid$ (Data, pos - 5, 5)
> 
>    etc. etc.
> 
> With Gambas 0.65 it has worked without problems. After I've updated to 
> 0.74 it's not working anymore.
> 
> Was there a change in the SHELL command, which makes it necessary to 
> change my code ? Could it help to go up to 0.80 (I really don't like to 
> update too much) ?
> 
> Has anybody any idea ??
> 
> Klaus
> 






More information about the User mailing list