Real information about Unreal Engine 3

Saturday, February 23, 2013

Name vs. String

If you are new to UnrealScript, you may wonder what the difference between Names and Strings is and when you should use Names instead of Strings. This article will give you some information about that.

Limitation

 

Names are unmodifiable. You can't cut down the string values of Names like Strings, but you can assign a Name variable to a new value.

Names are restricted to up to 1024 characters, and Name constants allow only alphanumeric characters or underscores. However, you can make a Name variable containing non-alphanumeric characters by converting a string to it like the following.
ANameVar = name(":>");
Read More

Followers

AD (728x90)

Powered by Blogger.