Difference between revisions of "String Variable"
Jump to navigation
Jump to search
mistake, need sv_construct to use format specifiers
imported>Odessa (mistake, missed $) |
imported>Odessa (mistake, need sv_construct to use format specifiers) |
||
Line 18: | Line 18: | ||
</pre> | </pre> | ||
To use format specifiers, you need to use [[Sv_Construct]]: | |||
<pre> | <pre> | ||
string_var my_string | string_var my_string | ||
Line 23: | Line 24: | ||
let MyInt := 5 | let MyInt := 5 | ||
let my_string := "the value of MyInt is %g", MyInt | let my_string := Sv_Construct "the value of MyInt is %g", MyInt | ||
</pre> | </pre> | ||
==See Also== | ==See Also== | ||
Line 29: | Line 30: | ||
*[[Eval]] | *[[Eval]] | ||
*[[ToString]] | *[[ToString]] | ||
*[[Sv_Construct]] | |||
[[Category:String Variables]] | [[Category:String Variables]] | ||
[[Category:NVSE]] | [[Category:NVSE]] |