Difference between revisions of "Print"

From Mesham
Jump to navigationJump to search
m
Line 11: Line 11:
 
  var f:="Hello";
 
  var f:="Hello";
 
  print(f+" world\n");
 
  print(f+" world\n");
 +
 +
''Since: Version 0.41b''
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:IO Functions]]
 
[[Category:IO Functions]]

Revision as of 18:37, 13 January 2013

Overview

This print(n) function will write a variable of value n to stdout.

  • Pass: A String typed variable or value
  • Returns: Nothing

Example

#include <io>
var f:="Hello";
print(f+" world\n");

Since: Version 0.41b