String: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 2: Line 2:
ASCII string, e.g. "My name is Victor Troska"
ASCII string, e.g. "My name is Victor Troska"


Strings are written enclosed in double quotes, like "Hello".
'''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.


[[Category: Types]]
[[Category: Types]]

Revision as of 14:47, 21 April 2006

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

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

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.