GenerativeComponents Help

char

A char value represents a single text character.

We specify a char value by enclosing it within apostrophe characters.

GCScript will automatically convert between a char value and a one-character string value, as necessary.

Examples

'm'
'4'
'?'

To specify an apostrophe character, itself, preface it with a backslash within the outer apostrophes.

Example

'\''

To specify a backslash character, itself, preface it with another backslash within the apostrophes.

Example

'\\'