[Gambas-user] SHELL Command
na2492 at ...9...
na2492 at ...9...
Fri Jan 9 16:54:32 CET 2004
>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
Salut Klaus,
SHELL and ECEX command has changed since 0.65
please see in Help
Charlie
* Gesendet mit / Sent by: FEN-Webmail * http://www.fen-net.de *
More information about the User
mailing list