Difference between revisions of "Print"

573 bytes added ,  17:53, 9 March 2015
no edit summary
imported>Odessa
(Created page with "{{Function |origin = NVSE |summary = Added by NVSE v4. Prints a string expression to the console. This is mainly a convenience function to eliminate the need for temporary s...")
 
imported>Odessa
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Function
{{Function
  |origin = NVSE
  |origin = NVSE
  |summary = Added by NVSE v4. Prints a string expression to the console. This is mainly a convenience function to eliminate the need for temporary string variables when printing complex strings using [[PrintToConsole]], as it supports string concatenation, the [[ToString]] function, etc.
  |summary = Added by NVSE v4. Prints a string expression to the console. This is mainly a convenience function to eliminate the need for temporary string variables when printing complex strings using [[PrintToConsole]], as it supports string concatenation and the [[ToString]] function, also making [[String Formatting|string formatting]] unnecessary.
 
Like [[Let]] and [[Eval|if eval]], NVSE expressions and nested function calls are supported without [[Script Compiler Override|compiler override]].
 
  |name = Print
  |name = Print
  |returnType = none
  |returnType = none
Line 8: Line 11:
   |Type = expression
   |Type = expression
   }}
   }}
  |example = Print $this
  |example = Print "My mod version is " + $MyMainQuest.Version + " and NVSE version is " + $(GetNVSEVersion)
 
Console --> My mod version is 1.04 and NVSE version is 4
}}
}}
==See Also==
==See Also==
*[[PrintToConsole]] (PrintC)
*[[PrintDebug]] (only prints if mod has debug mode enabled)
*[[PrintF]] (Outputs to a file)
*[[PrintToConsole]] (PrintC, the old version which uses string formatting)
*[[ToString|ToString($)]]
*[[String Variable]]
*[[String Variable]]
*[[Con_SCOF]]
*[[Debug Dumps]]
[[Category:Functions_(NVSE)]]
[[Category:Functions_(NVSE)]]
[[Category:Debugging]]
Anonymous user