[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: how to loop in lua page(not the php way) ?
- From: "Mark Edgar" <medgar123@...>
- Date: Thu, 15 Mar 2007 11:17:51 -0700
On 3/15/07, Tomas Guisasola Gorham <tomas@tecgraf.puc-rio.br> wrote:
<?lua
for i=1,10 do
?>
<p><%= tostring(i) %></p>
<?lua
end
?>
I can't stand all the <?lua ?> cruft. Instead, I use slslpp:
http://lua-users.org/wiki/SlightlyLessSimpleLuaPreprocessor
# for i = 1,10 do
<p>$(i)</p>
# end
Of course, this doesn't answer the OP's question. I think the answer
to that question is: if you want KidLanguage, you know where to find
it. ;)
-Mark