Difference between revisions of "Sv Construct"
Jump to navigation
Jump to search
m
clarified example
imported>Odessa (Created page with "{{Function |origin = NVSE |summary = Returns a string variable constructed from the specified string and up to 20 formatting arguments. If no formattin...") |
imported>Odessa m (clarified example) |
||
Line 14: | Line 14: | ||
==Example== | ==Example== | ||
<pre> | <pre> | ||
string_var simple_string | |||
string_var my_string | string_var my_string | ||
int iValue | int iValue | ||
ref rActor | ref rActor | ||
let | let simple_string := "Just plain text" ; * Sv_Construct is not necessary here | ||
let my_string := Sv_Construct "iValue equals %g and rActor's name is %n", iValue, rActor | let my_string := Sv_Construct "iValue equals %g and rActor's name is %n", iValue, rActor | ||
Line 24: | Line 25: | ||
==See Also== | ==See Also== | ||
*[[String Variable]] | *[[String Variable]] | ||
*[[String Formatting]] | |||
*[[Let]] | *[[Let]] | ||
[[Category:Functions_(NVSE)]] | [[Category:Functions_(NVSE)]] | ||
[[Category:String Variables]] | [[Category:String Variables]] |