Use the escape character - Connect_CDC - connect_cdc_mimix_share - Latest

Connect CDC System Reference Guide

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (MIMIX Share)
Version
Latest
Language
English
Product name
Connect CDC
Title
Connect CDC System Reference Guide
Copyright
2024
First publish date
2003
Last edition
2024-08-20
Last publish date
2024-08-20T21:40:14.000381

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!’