Le 10/12/2013 14:49, John Rose a écrit :
> Tobias,
> I just realised that a post that I made on the 'Line continuation'
> thread is better in this thread. The details are:
> I liked your ideas of:
> Dim aExec As String[]
> Dim sRes As String
> aExec = ["cat", "/proc/meminfo"]
> ' Use aExec.Add() to add more arguments
> Exec aExec To sRes

---> It is faster and shorter to do:

sRes = File.Load("/proc/meminfo")

-- 
Benoît Minisini

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to