I tried the 255, but got the "y" character at the R> on my PC.
Thanks, Bob Thompson LaPorte, IN 219-363-7441 Sent from my iPod On Mar 24, 2015, at 5:52 PM, Doug Hamilton <[email protected]> wrote: > 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 >

