Writetofile Function

Next: , Previous: Readline, Index: Index

This writetofile[n,a] function will write the values of a to the file denoted by handle n.

Pass: The file handle to write to (type File) and also the value (any time) to write into file
Returns: Nothing

Examples

var a:=openfile["hello.txt","r"];
writetofile[a,"hello - test"];
var q:=19;
writetofile[a,q];
closefile[a];


Last Modified: August 2008