Last active
August 29, 2015 14:09
-
-
Save peace098beat/a03f48686a0a5a5f3808 to your computer and use it in GitHub Desktop.
[AE] ファイルの書き出し
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
// ファイルの読み出し | |
var path = PATH_CURRENT+"/debug.log"; | |
var file =new File(path); | |
var flg =file.open("r"); | |
if(flg){ | |
// 一括呼び出し | |
data = file.read(); | |
} | |
file.close(); | |
// ファイルの書き込み | |
var path = PATH_CURRENT+"/debug.log"; | |
var file =new File(path); | |
var flg =file.open("w"); | |
if(flg){ | |
txt = file.writeln("書き込むテキスト"); | |
} | |
file.close(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment