Kind of just bothering me, no problems but I don’t understand why it is doing it. On the mac version or Corona Simulator, it only runs once.
What’s odd, it isn’t just at the beginning of code. Like if I put a print statement in another file, I see it print out twice too. It seems to execute the code twice too as far as I can tell.
For example if I do:
local min = math.min
for i=1,1000000 do
local x = math.min( 23, 43, 45, 20 )
end
print(system.getTimer())
Print will print initially the first value (after a few second delay (running the loop)) then a few seconds later it will display it again with a similar value (after running the loop a second time).
My code is not affected by this, but it is confusing as anything and if I was doing something with data I suspect it may break something. [import]uid: 160288 topic_id: 32787 reply_id: 130410[/import]