Apr 16, 2007 #1 antonreyes Programmer Joined Apr 16, 2007 Messages 1 Location US We are using RPG/300. I wanted to store a single quote (') in a character variable. Please advise. Thank you...
We are using RPG/300. I wanted to store a single quote (') in a character variable. Please advise. Thank you...
Apr 17, 2007 1 #2 flapeyre Programmer Joined Nov 22, 2002 Messages 2,356 Location US Code: D Quote C '''' // or... D Quote C x'7D' Tibi gratias agimus quod nihil fumas. Upvote 0 Downvote
Apr 17, 2007 #3 flapeyre Programmer Joined Nov 22, 2002 Messages 2,356 Location US 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. Upvote 0 Downvote
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.