Difference between revisions of "Writestring"

From Mesham
Jump to navigationJump to search
m (4 revisions imported)
 
(No difference)

Latest revision as of 15:44, 15 April 2019

Overview

This writestring(f,a) function will write the value of a to the file denoted by handle f.

  • Pass: The File handle to write to and the String to write
  • Returns: Nothing

Example

#include <io>

function void main() {
   var f:=open("hello.txt","w");
   writestring(f,"hello - test");
   close(f); 
};

Since: Version 0.41b