📄 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 + -