Difference between revisions of "Print"
From Mesham
Jump to navigationJump to search (Created page with '== Overview == This print[n] function will display ''n'' to stdout. The programmer can pass any number of values or variables split by '','' * '''Pass:''' A variable to display…') |
|||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
− | This print | + | This print(n) function will write a variable of value ''n'' to stdout. |
− | * '''Pass:''' A variable | + | * '''Pass:''' A [[String]] typed variable or value |
* '''Returns:''' Nothing | * '''Returns:''' Nothing | ||
== Example == | == Example == | ||
− | var f:=" | + | #include <io> |
− | + | var f:="Hello"; | |
− | print | + | print(f+" world\n"); |
[[Category:Function Library]] | [[Category:Function Library]] | ||
[[Category:IO Functions]] | [[Category:IO Functions]] |
Revision as of 13:10, 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");