Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,21 @@
|
|||
filename = "NOTES.TXT"
|
||||
|
||||
if #arg == 0 then
|
||||
fp = io.open( filename, "r" )
|
||||
if fp ~= nil then
|
||||
print( fp:read( "*all*" ) )
|
||||
fp:close()
|
||||
end
|
||||
else
|
||||
fp = io.open( filename, "a+" )
|
||||
|
||||
fp:write( os.date( "%x %X\n" ) )
|
||||
|
||||
fp:write( "\t" )
|
||||
for i = 1, #arg do
|
||||
fp:write( arg[i], " " )
|
||||
end
|
||||
fp:write( "\n" )
|
||||
|
||||
fp:close()
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue