You must be logged in to do that.

GetString

GetString
string GetString(string strname)

Documentation

Returns the value of a global non-array string variable.

If the function name does not exist, returns an empty string.

If you are working with other people's code, it is advisable to use this function in conjunction with StrExists()

;

Example Usage

string name;
string my_var= "name"; // my_var now points to name.
GetString(my_var); // Gets the value of name.
Talkback

There are no talkbacks on this documentation page yet. Post the first?

Post a new comment?

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.