filewritevar( <var>, <num> )

Description

This writes the specified variable to the file.

For float variables... The number specifies how many decimal places the output is written as. For example, if Z is 0.123456, then:

filewritevar(Z,2)
outputs 0.12.

For integer variables... The number specifies an alignment. The output is padded to this size, with spaces on the left. For example, if A to 47, then:

filewritevar(A,5)
outputs "   47".