Core Function Println
From Sputnik Wiki
(Difference between revisions)
(Created page with "<pre> Println( <expression> ) </pre> === Description === Prints an expressions string value to the console window and inserts a newline charactor at the end === Parameters ===...") |
m (1 revision) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
− | Prints an expressions string value to the console window and inserts a newline | + | Prints an expressions string value to the console window and inserts a newline character at the end |
=== Parameters === | === Parameters === | ||
Line 18: | Line 18: | ||
=== Remarks === | === Remarks === | ||
+ | |||
+ | Alias' for this command | ||
+ | <pre> | ||
+ | Echo() | ||
+ | </pre> | ||
+ | |||
+ | The console supports printing Unicode however it's also possible that your choice of Console font does not support that particular character. Click on the Windows Toolbar Menu (icon like C:.) and select Properties -> Font. Try some other fonts to see if they display your character properly. | ||
All values including Ints will be printed as if it was a string. | All values including Ints will be printed as if it was a string. |
Latest revision as of 12:38, 14 June 2015
Println( <expression> )
Contents |
Description
Prints an expressions string value to the console window and inserts a newline character at the end
Parameters
Expression
The expression to print.
Return Value
None
Remarks
Alias' for this command
Echo()
The console supports printing Unicode however it's also possible that your choice of Console font does not support that particular character. Click on the Windows Toolbar Menu (icon like C:.) and select Properties -> Font. Try some other fonts to see if they display your character properly.
All values including Ints will be printed as if it was a string.
Example
println("Line 1"); println("Line 2"); println("Line 3");