lua-users home
lua-l archive

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


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/