?? testfile.es
字號:
// simple FESI code showing file IO support
var fileToWorkWith = File("testfile.txt");
fileToWorkWith.remove();
fileToWorkWith.open();
for (i=1; i<=100; i++)
fileToWorkWith.writeln("Number is "+i);
fileToWorkWith.close();
alert ("File is at " + fileToWorkWith.getAbsolutePath());
var allString=fileToWorkWith.readAll();
var strSplit = allString.split("\n");
alert ("The third line says " + strSplit[2]);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -