Click or drag to resize

Putfile function

Putfile function let you put lines of text in a textfile.

Syntax

Default syntax: putfile "filePath" "line1" "line2" ... "lineN". You can use both absolute and relative path.

//Insert the 10th number of the Fibonacci's serie in the file "Fibonacci.txt". If the file does not exists, then creates it.
[curFib] = calc Fib(10)
putfile ".\Fibonacci.txt" "{curFib}"