Internal Name Operator
by Tom Bampton · 09/07/2006 (5:03 pm) · 24 comments
There's been some discussion for a while about internal names. They were originally implemented in TGB to make GUI code a little easier to write ... but findObjectByInternalName() is long and irritating to type.
I think it was Paul Dana that suggested a new operator for referencing objects in a group by their internal name. After talking with Justin about it today for the umpteenth time, I finally got around to implementing it:

Ben mentioned that -> could be confusing to programmers used to C++. He does have a point, but is it worth worrying about ? If so, what would be a better operator ? All I can think of is "#", ".." and ".>" ... but they all feel a bit strange.
I think it was Paul Dana that suggested a new operator for referencing objects in a group by their internal name. After talking with Justin about it today for the umpteenth time, I finally got around to implementing it:

Ben mentioned that -> could be confusing to programmers used to C++. He does have a point, but is it worth worrying about ? If so, what would be a better operator ? All I can think of is "#", ".." and ".>" ... but they all feel a bit strange.
About the author
Recent Blogs
• A Game in 2750 Days• GID23 and NPC Editor
• Fun with Lua
• How NOT to make a game
• Thinking Outside the Box
#22
09/11/2006 (7:36 am)
ps: Seriously tho Tom, I quite favor -> myself and it doesnt cause my C++ side any discomfort.
#23
09/18/2006 (4:42 am)
My perl brain loves -> and it seems quite natural to type ..
#24
Is this going to be integrated into TorqueScript or do you think you might post a resource?
(This is great by the way.)
Todd
09/27/2006 (12:40 pm)
Hey Tom,Is this going to be integrated into TorqueScript or do you think you might post a resource?
(This is great by the way.)
Todd

Torque Owner Neo Binedell
We're basically saying look in here (::) but keep going till you find it (:)
;p