writefile
- 网络蓝色代码
-
The value returned is the success / failure value of the call to writefile () .
返回的值为对writefile()调用的success/failure值。
-
You see all of the activities for the process , and that WriteFile is in a failed state .
您将看见流程的所有行为,WriteFile处于失败状态。
-
Failed to perform WriteFile to script file .
对脚本文件执行writefile操作失败。
-
Instead of Failed , the WriteFile step is in the Stopped state this time , which enables you to perform actions that are not valid for Failed activities .
这次,WriteFile步骤处于Stopped状态而不是Failed,这允许您执行那些对失败的行为无效的操作。
-
The function then grabs every line in the current file ( getline ( 1 , ' $ ' )) and calls the built-in writefile () function to write them to disk .
函数随后获取当前文件(getline(1,'$'))中的每一行并调用内置的writefile()函数来将它们写入到磁盘中。
-
The second argument to writefile () is the name of the new file to be written ; in this case , the name of the current file ( bufname ( ' % ' )) with the counter 's new value appended .
writefile()的第二个参数是将要写入的新文件的名称;在本例中,为当前文件(bufname('%'))的名称附加上计数器的新值。