lua-users home
lua-l archive

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


>  Please tell me how to do that?

Again, I'm probably missing something, but "here documents" can be done in
Lua with long strings:

 DATA=[[
 If it happens once, it's a bug.
 If it happens twice, it's a feature.
 If it happens more than twice, it's a design philosophy.
 ]]

 -- do something with DATA

--lhf

PS: The text above was output just now by /usr/games/fortune ...