Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Storing a single quote 1

Status
Not open for further replies.

antonreyes

Programmer
Apr 16, 2007
1
US
We are using RPG/300.

I wanted to store a single quote (') in a character variable.

Please advise. Thank you...
 
Code:
     D Quote           C                   ''''
        // or... 
     D Quote           C                   x'7D'

Tibi gratias agimus quod nihil fumas.

 
That example I just gave was for RPG 4 (as a named constant), but the same thing applies to RPG III (I presume you meant RPG/400).

Tibi gratias agimus quod nihil fumas.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top