Use the escape character - Connect_CDC - connect_cdc_mimix_share - 5.8

Connect CDC System Reference Guide

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (MIMIX Share)
Version
5.8
Language
English
Product name
Connect CDC
Title
Connect CDC System Reference Guide
Copyright
2024
First publish date
2003
ft:lastEdition
2024-02-12
ft:lastPublication
2024-02-12T15:11:59.486869

The following expression gets a PARSE ERROR because of an improper use of a single quote as data:

C5 == 'dad's room';

This is the correct method for coding the expression with the escape character:

C5 == 'dad\'s room';

An additional example:

'Single quote=\'';

which yields the result:

Single quote='

You can use the escape character to include other special characters in character literals that cannot otherwise be specified. For example:

  •    ‘\0’ within a literal represents one binary zero character.

  • ‘\0\0\0\0’ within a literal represents 4 binary zeros.

  • ‘\t’ within a literal represents a tab character.‘TAB\t IT!’