Strings
by Karan · in Torque Game Engine · 09/05/2005 (8:53 pm) · 3 replies
Silly question, but i understand how Single Quote and Double Quote Strings work, but what i wanted to know if you assign a string to include a variable so that it dynamically changes. Would that mean that i need to make the string Double Quote String, so that the server would send the string again so that it can be parsed each time and dynamically update, or can i make it a single quote, and then would it still dynamically update it. I hope everyone gets this. Sorry if it doesn't make sense. Let me know and ill try to include an example.
About the author
#2
09/06/2005 (10:48 pm)
Variables, once placed in strings, won't get dynamically updated. You have to keep recalculating the string if you want changes to appear in it.
#3
09/07/2005 (6:23 pm)
Yeah ben thats sort of what i wanted to ask.. It makes sense, like im just learning everything, but i wanted to ask. Thank You.
Torque 3D Owner Chris "DiGi" Timberlake
echo("PIE:"@$Pref::Pie); ? I don't understand?