|
|
| Author |
Message |
pkd2k5
New User
Joined: 30 Jul 2005 Posts: 1
|
|
|
|
| If I want to print a string like " sandy's home" in PL/I what will be the syntax? Please write down the code. |
|
| Back to top |
|
 |
References
|
Posted: Wed Aug 03, 2005 12:52 am Post subject: Re: How to print a string having sinngle quote(') in it. |
 |
|
|
 |
hsourabh
New User
Joined: 24 May 2005 Posts: 12 Location: Z?rich
|
|
|
|
Hi pkd,
This code's surely gonna work, try it out
FUN:PROC OPTIONS(MAIN);
DCL QUOTE CHAR(12) INIT('');
QUOTE = 'SANDY'!!'7D'X!!'S HOME';
PUT SKIP LIST(QUOTE);
END FUN;
Thanks,
Sourabh |
|
| Back to top |
|
 |
|
|