[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANNOUNCE] Lua 5.0 (work0)
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 06 Jun 2002 14:34:33 -0300
> I didn't saw xpcall mentioned in Roberto's list of changes.
That is still in trial... "xpcall" would be the pcall with an error
handler (as its first argument). I am not sure it will go into the final
version anyway...
> Nor popen.
That took the functionality of readfrom/writeto("| ..."):
f = io.popen("ls", "r")
print(f:read('*a'))
Now the function is always there, but raises an error if you compile
Lua without -DPOPEN.
-- Roberto