Bob, wasn't (CHAR(255)) a hard space?
R>
set echo on
set var vtext = ('ABCD')
set var vText = (.vText + (CHAR(32)) )
set v vlen inte = (SLEN(.vTEXT))
sho var vtext
ABCD
sho var vlen
4
set var vtext = ('ABCD')
set var vText = (.vText + (CHAR(255)) )
set v vlen inte = (SLEN(.vTEXT))
sho var vtext
ABCDÿ
sho var vlen
5
ret
Or maybe (CHAR(255)) was a smiley-Y, although it showed at the R>,
pasted above, as a blank; email client probably made it the smiley-Y.
Doug
On 3/24/2015 4:43 PM, [email protected] wrote:
This seems like it should be an easy task, but for some reason it is
eluding me.
I need to add a space to the end of a text variable, such as :
set var vText = (.vText + ' ')
or
set var vText = (.vText + (CHAR(32)) )
Neither of these add the space.
It is probably staring me in the face and I just can't see it today!
Thanks,
Bob