lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Aug 12, 2003 at 01:19:42AM -0300, Ariel Manzur wrote:
<snip> 
> I think the problem is that f() is returning 2 values, but you alredy have 
> a first value on the right ('_'), so 99 is the 3rd.. like this:
> 
> _,x = _,1,99
> 
> (I just replaced with the result of 'nil or f()'). The list on the right 
> gets adjusted, and the 99 is thrown away.

Thanks Ariel! This assignment can be really tricky. :)

> good luck with the regexp :)

Thanks again,
Luis.

- -- 
Mathematicians practice absolute freedom.
                -- Henry Adams

- -- 
Luis Carvalho
Applied Math PhD Student
Brown University
carvalho at dam dot brown dot edu

PGP Key: E820854A <carvalho@dam.brown.edu>
Available at: http://www.dam.brown.edu/people/carvalho/pgp-key
Fingerprint: 1339 9E5D DB0B 01B9 624D  AFF8 D738 BFA6 E820 854A

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/OOXb1zi/pugghUoRAtXAAJ9639iV+hV1wLhumOntaPaG7EqCHQCgqcoG
XjDbOT7G/MWy/zJBGq92q8c=
=ym5A
-----END PGP SIGNATURE-----