[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: newbie question - strings and arrays
- From: Jose Marin <jose_marin2@...>
- Date: Thu, 13 Oct 2005 12:04:51 +0000 (GMT)
Thinking on a more esay to use than a fast solution,
how hard would be to create a "String" class in Lua,
with the operator [] overloaded?
local str = String("Lua")
print(str[2])
Would print "u"
_______________________________________________________
Promoção Yahoo! Acesso Grátis: a cada hora navegada você acumula cupons e concorre a mais de 500 prêmios! Participe! http://yahoo.fbiz.com.br/