Core Function Print

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> Print( <expression> ) </pre> === Description === Prints an expressions string value to the console window === Parameters === ==== Expression ==== The expression to pri...")
 
m (1 revision)
 
(8 intermediate revisions by 2 users not shown)
Line 15: Line 15:
 
=== Return Value ===
 
=== Return Value ===
  
Success: Returns the new char.
+
None.
 
+
Failure: Returns 0.
+
  
 
=== 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

Print( <expression> )

Contents

Description

Prints an expressions string value to the console window

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

print("Testy");
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox