String

From Bohemia Interactive Community
Revision as of 23:24, 27 May 2006 by Raedor (talk | contribs)
Jump to navigation Jump to search

Description: ASCII string, e.g. "My name is Victor Troska"

Strings are written enclosed in double quotes, like "Hello".

You can make a string out of any type by using format.

Compatibility notes:

Since ArmA, strings can also be enclosed in apostrophes, like 'Hello'.

Before ArmA, strings could be enclosed in curled braces, as there was no difference between strings and code. In ArmA code needs to be distinguished clearly strings can no longer use { } syntax.