Triggers: Difference between revisions

No change in size ,  7 October 2016
m
no edit summary
mNo edit summary
mNo edit summary
Line 287: Line 287:


<source lang="javascript">
<source lang="javascript">
f = file("/sdcard/myfile.txt") // Open the myfile.txt file on the SD card. If the file does not exist,
f = file("/sdcard/myfile.txt"); // Open the myfile.txt file on the SD card. If the file does not exist,
                                 // it will be created.
                                 // it will be created.
f.writeLine("one");            // Write the string "one" as a line to the file
f.writeLine("one");            // Write the string "one" as a line to the file