testing line numbers

just testing... so please ignore this post

200
201
202
203
204
205
        --Useful for debugging, Prints all the tables
        function g:printTable ()
           for k,v in pairs ( _properties ) do
                 print ( " --> " .. k .. " = " .. v )
           end
        end     

this was just to test if some code was at a particular line number to synch the line number to that rather than have each block of code start at 1.

Ignore this post too...

lol how it has been started from line 200

it can start from any number, let's say I was referring to line 245 in myfile.lua, then I can highlight it as

243
244
245
246
247
 local theVar1 = "Variable"
 --
 local music = myStage.addMusic("intro","thefile.mp3")
 myStage.play("intro")
 --

ohh i got that when i saw line 200 from start i am asking with which tag i can specify line number

it's all there in the link just above the save and preview buttons, very few people look at that. the link is here

for those that do not want to look at the other codes, the quick one for line numbers is

<lua start="200">
--the code comes here
</lua>

cheers,

?:)

great :)

views:1692 update:2011/9/20 9:25:42
corona forums © 2003-2011