×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




You don't really need all the quotes, just need the pluses.
Just remember to double the ones that are not the outer-most quotes.

/free

MyVar = 'This is a sentence of +
around 130 characters containing +
apostrophes an''all.';

/end-free

Stu



On Tue, Feb 15, 2011 at 07:48, Denis Robitaille <
denis_robitaille@xxxxxxxxxxxx> wrote:

Try something like

MyVar = 'bla bla .....' +
'bla bla bla ....' +
' here we insert a quote '' bla bla' +
' yet another line of text added to MyVar' +
' had as many lines as you need'



Denis Robitaille
Directeur Service technique TI
CASCADES INC.
412 Marie Victorin
Kingsey falls(Québec) Canada J0A 1B0
T : 819 363-6130
F : 819 363-6155
David FOXWELL <David.FOXWELL@xxxxxxxxx> 2/15/2011 8:28 >>>
Hi all,

In Free form,

How do I write :

MyVar = "This is a sentence of around 130 characters containing apostrophes
an'all"

Message file is not a possibility for me.

I don't want to put it in a constant as I think it will never be reused and
I cannot give it a meaningful name.


Thanks
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.