|
Regards,
Jim Langston
Programmer/Analyst
Cels
Enterprises, Inc.
-----Original Message-----
From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On Behalf Of Bale, Dan
Sent: Monday, August 13, 2001 2:00 PM
To: rpg400-l@midrange.com
Subject: RE: Using quotes in a literalJust to clarify, Jim. When you say "double quote", don't you really mean two single quote characters? In your example, if that really is one double quote in your Ain"t, then it'll come out just like that. If that ain't what you're tryin' to say, then please correct me. <g>
Dan Bale
IT - AS/400
Handleman Company
248-362-4400 Ext. 4952
D.Bale@Handleman.com
Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)-------------------------- Original Message --------------------------
-----Original Message-----
From: Jim Langston [SMTP:jlangston@celsinc.com]
Sent: Monday, August 13, 2001 4:54 PM
To: rpg400-l@midrange.com
Subject: RE: Using quotes in a literalDouble quotes are supposed to be a single quote, so in theory it should be
like:
'Ain''t this nice?'The problem I come into is when trying to put a single quote at the
beginning or end of a constant. Sometimes it seems I need to put three,
sometimes it seems I need to put four. Not sure if it's:
'''Ain''t this nice?'''
or
''''Ain't this nice?''''I have to mess around 'til I get it right each time.
Regards,
Jim Langston
Programmer/Analyst
Cels Enterprises, Inc.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.