× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Quote Question
  • From: SHISHIRKSINGH <SHISHIRKSINGH@xxxxxxx>
  • Date: Sat, 26 Feb 2000 15:42:54 +0530
  • Importance: high



D  SINGLE_QUOTE         S        1     INZ(X'7D') 

C                 EVAL       STRING = SINGLE_QUOTE + STRING1 + SINGLE_QUOTE




-----Original Message-----
From: boldt@ca.ibm.com [mailto:boldt@ca.ibm.com]
Sent: Friday, February 25, 2000 10:58 PM
To: RPG400-L@midrange.com
Subject: Re: Quote Question




Brian wrote:
>I need to create a text sting that includes a single quote.  Any Idea on
how to
>do this?
>
>I tried using specifying this on the INZ of a D-Spec and no luck.  I tried
>doing this also with an EVAL and still no luck.  Any help would be
appreciated.

Read:
<http://publib.boulder.ibm.com:80/cgi-bin/bookmgr/BOOKS/QB3AGZ03/2.1.3.1?ACT
ION=MATCHES&REQUEST=apostrophe+character+literal&TYPE=FUZZY&searchTopic=TOPI
C&searchText=TEXT&searchIndex=INDEX&rank=RANK#FIRSTHIT>


Or Chapter 8 of the "ILE RPG for AS/400 Reference" manual.

Cheers!  Hans

Hans Boldt, ILE RPG Development, IBM Toronto Lab, boldt@ca.ibm.com


+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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.