Created
January 11, 2016 11:08
-
-
Save danlu01/4d06ec4e1b7836f5a246 to your computer and use it in GitHub Desktop.
esp test write loop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MyVars={} | |
test=1 | |
tmr.alarm(5, 200, 1, function() | |
print(test) | |
file.remove("user.lua"); | |
file.open("user.lua","w+"); | |
for i=1, 60 do | |
file.writeline('MyVars['..i..']="MyVars'..i..'"') | |
end | |
file.close(); | |
test=test+1 | |
end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment