trikRuntime
file-test.js File Reference

Functions

script removeFile ("test.txt")
 
script writeToFile ("test.txt", x)
 
 assert (y==239)
 

Variables

var x = 239
 
var lines = script.readAll("test.txt")
 
var y = lines[0]
 

Function Documentation

assert ( y  = =239)
script removeFile ( "test.txt"  )
script writeToFile ( "test.txt"  ,
x   
)

Variable Documentation

var lines = script.readAll("test.txt")
var x = 239
var y = lines[0]