You can treat any variable as a string... that means these things are all allowed:
say (ego, myVariable); newVariable = "The name of the ego character is \"" + ego + "\"."; statusText (57219);
Here's what you'll get when using each of the data types as a string.
Always equates to "undefined".
Equates to the decimal representing the number, as you'd expect, complete with minus sign if required.
Equates to the current value of the string. Oddly.
If the game has been compiled in development mode, equates to the original name of the resource file. Otherwise, equates to "file handle".
Equates to the on-screen name of the object type.
Equates to the string representation of each element, separated by a comma and a space. If the stack is empty, equates to "empty stack".
Equates to "pointer to function" if the function is user-defined or "pointer to BIF" if the pointer is built-in (ie. one of the functions in the Alphabetical List of Built-in Functions section).
Aliays equates to "animation".
Always equates to "costume".
Spellchecking the Strings in your Game
SLUDGE and this SLUDGE documentation are copyright Hungry Software and contributors 2000-2012