Difference between revisions of "Talk:StrSet"
Jump to navigation
Jump to search
no edit summary
imported>DragoonWraith (MessageBox style variable inclusion?) |
imported>Tibixe |
||
Line 1: | Line 1: | ||
Tibixe, would it be possible to get this to use the standard [[MessageBox]] style notation for including variable values? That would extremely useful.<br /> | Tibixe, would it be possible to get this to use the standard [[MessageBox]] style notation for including variable values? That would extremely useful.<br /> | ||
[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 11:57, 10 August 2007 (EDT) | [[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 11:57, 10 August 2007 (EDT) | ||
I can't use '%' because the built-in script interpreter does weird things. What StrSet does is replaces '$' with '%' and passes all the parameters to sprintf() (A C function) | |||
This notation is documented [http://en.wikipedia.org/wiki/Printf#printf_format_placeholders here]. This is very similar to MessageBox. | |||
[[User:Tibixe|Tibixe]] 06:22, 11 August 2007 (EDT) |