Difference between revisions of "PrintToConsole"

Jump to navigation Jump to search
1,405 bytes removed ,  05:48, 16 July 2014
Clarified, added links
imported>Hammil
imported>Odessa
(Clarified, added links)
Line 2: Line 2:
  |CSWikiPage = PrintToConsole
  |CSWikiPage = PrintToConsole
  |origin = FOSE1
  |origin = FOSE1
  |summary = Print formatted string to console. The [[ShowMessage#Formatting notation|formatting notation]] is the same as in [[ShowMessage|Messages]]. There is a maximum of 20 variable arguments.
  |summary = Prints a string to console. Optionally with up to 20 [[String Formatting|format specifiers]].
  |name = PrintToConsole
  |name = PrintToConsole
  |alias = printc
  |alias = PrintC
  |returnType = void
  |returnType = void
  |arguments =  
  |arguments =  
   {{FunctionArgument
   {{FunctionArgument
   |Name = format string
   |Name = Message
   |Type = string
   |Type = string
   }}{{FunctionArgument
   }}{{FunctionArgument
   |Name = variable
   |Name = Formatting
   |Type = float
   |Type =  
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
  |Optional = optional
  }}{{FunctionArgument
  |Name = variable
  |Type = float
   |Optional = optional
   |Optional = optional
   }}
   }}
}}
}}
==Example==
<pre>
PrintC "This message will appear in the game console"
</pre>
With formatting:
<pre>
int iVal
set iVal to 42
PrintC "The value of iVal is: %g" iVal
</pre>
==See Also==
*[[String Formatting]]
*[[DebugPrint]]
*[[Print]]
*[[MessageEx]]
*[[ToString]]
[[Category:Functions_(FOSE)]]
[[Category:Functions_(FOSE)]]
[[Category:Debugging]]
Anonymous user

Navigation menu