1.6

Table Of Contents
position to 14 lines below the current position of the pointer in
the data */
curPage++;
} else if(curLine.startsWith("LOAD FACTOR")) {/* Extracts data to
the curLine variable until the string "LOAD FACTOR" is encountered
*/
break;
} else {
lineArray.push(curLine); /* Adds the current line value
(extraction) to the array */
}
Functions
copyFile()
Function that copies a file to the target file path, replacing it if it already exists.
copyFile(source, target)
Copies a file to the target file path, replacing it if it already exists.
source
String that specifies source file path and name.
target
String that specifies target file path and name.
target
String that specifies destination path and file name.
Example
In this script, the file test.txt included in c:\Content, will be copied into the c:\out folder.
copyFile("c:\Content\test.txt","c:\out\")
createTmpFile()
Creates a file with a unique name in the temporary work folder and returns a file object. This file
stores data temporarily in memory or in a buffer. It is used to prevent multiple input/output
Page 235