Difference between revisions of "Talk:StrSet"

Jump to navigation Jump to search
339 bytes added ,  11:19, 11 August 2007
excellent!
imported>Tibixe
imported>DragoonWraith
(excellent!)
 
Line 2: Line 2:
[[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)
: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)
: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)
 
::Oh, excellent! Thanks muchly!
::[[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>]] 12:19, 11 August 2007 (EDT)

Navigation menu