Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

apostrophe declaration

Former Member
0 Likes
759

Hi,

How to declare a constant ' (apostrophe) ? if i do it like this :

CONSTANT: APOS TYPE C VALUE '''.

it gives me an error for the "Literals that take up more than one line not permitted."

is there any excape character?

Thanks,

Shailaja

3 REPLIES 3
Read only

Former Member
0 Likes
549

You will have to define it twice for special characters.

Use this way

CONSTANTS: APOS TYPE C VALUE ''''.

If answer helped , reward and close the thread.

Cheers.

Read only

0 Likes
549

That is 4 consecutive apostrophees.

Read only

former_member221770
Contributor
0 Likes
549

Shailaja,

Try declaring your ' as a text element. and then calling your text element from then onwards (ie 'TEXT-001').

Hope this helps.

Cheers,

Pat.

PS. Kindly assign Reward Points to the posts you find helpful.