Difference between revisions of "Print"
From Mesham
Jump to navigationJump to searchm |
m (4 revisions imported) |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
#include <io> | #include <io> | ||
− | var f:="Hello"; | + | |
− | + | function void main() { | |
+ | var f:="Hello"; | ||
+ | print(f+" world\n"); | ||
+ | }; | ||
''Since: Version 0.41b'' | ''Since: Version 0.41b'' |
Latest revision as of 15:44, 15 April 2019
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> function void main() { var f:="Hello"; print(f+" world\n"); };
Since: Version 0.41b