String Delimiter

From NWN Lexicon
Jump to navigationJump to search

The quote characters ('"') are used to surround a literal string of text so the compiler knows to interpret that text as string data and not as language syntax.

void main()
{
    string sName = "Galryx";
    PrintString(sName);
}

 author: Charles Feduke, additional contributor(s): Frank Succardi