Skip to content

Commit e0dc30c

Browse files
authored
Change "write" to "append" in append example
1 parent dbb625d commit e0dc30c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/en/cffile.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
{
4848
"title": "Script Syntax - Append",
4949
"description": "File Append - There is no fileAppend() so we access the file and use fileWriteLine()",
50-
"code": "myFile = fileOpen(expandPath(\"./myFile.txt\"), \"write\"); \r\n fileWriteLine(myFile, \"Here's some new content.\"); \r\n fileClose(myFile);",
50+
"code": "myFile = fileOpen(expandPath(\"./myFile.txt\"), \"append\"); \r\n fileWriteLine(myFile, \"Here's some new content.\"); \r\n fileClose(myFile);",
5151
"runnable":false,
5252
"result": ""
5353
},

0 commit comments

Comments
 (0)