Page 1 of 1

dcsay question

Posted: Thu Nov 03, 2011 10:28 am
by BruceN
I have a string that I want to show using a dcsay. The string has line feeds built in it ('computer name:' + chr(13) + chr(10) + comp1name + chr(13) + chr(10) + comp2name........).

When I use a dcsay it strips out the line feeds and shows everything on a single line. Other than converting my string to an array and looping thru with a dcsay for each element, is there a way to display it as:

Computer Name:
comp1name
comp2name
etc...

thanks

Re: dcsay question

Posted: Thu Nov 03, 2011 10:39 am
by Auge_Ohr
hi,

does DcSay have the :Option := XBPSTATIC_TEXT_WORDBREAK ?

Re: dcsay question

Posted: Thu Nov 03, 2011 10:42 am
by rdonnay
Use the SAYWORDBREAK clause.

Re: dcsay question

Posted: Thu Nov 03, 2011 2:39 pm
by BruceN
That did it... I thought there had to be a way...

thanks, as always

b