Difference between pages "Category:Communication Mode Types" and "Writestring"

From Mesham
(Difference between pages)
Jump to navigationJump to search
(Created page with 'Category:Composite Types')
 
m
 
Line 1: Line 1:
[[Category:Composite Types]]
+
== 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>
 +
var f:=open("hello.txt","w");
 +
writestring(f,"hello - test");
 +
close(f);
 +
 
 +
''Since: Version 0.41b''
 +
 
 +
[[Category:Function Library]]
 +
[[Category:IO Functions]]

Revision as of 18:42, 13 January 2013

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>
var f:=open("hello.txt","w");
writestring(f,"hello - test");
close(f); 

Since: Version 0.41b

Pages in category ‘Communication Mode Types’

The following 7 pages are in this category, out of 7 total.