dcsay question

This forum is for eXpress++ general support.
Post Reply
Message
Author
BruceN
Posts: 280
Joined: Thu Jan 28, 2010 7:46 am
Location: Slidell, LA

dcsay question

#1 Post 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
There are only 10 kinds of people - those who understand binary and those who don't :)

User avatar
Auge_Ohr
Posts: 1428
Joined: Wed Feb 24, 2010 3:44 pm

Re: dcsay question

#2 Post by Auge_Ohr »

hi,

does DcSay have the :Option := XBPSTATIC_TEXT_WORDBREAK ?
greetings by OHR
Jimmy

User avatar
rdonnay
Site Admin
Posts: 4813
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: dcsay question

#3 Post by rdonnay »

Use the SAYWORDBREAK clause.
The eXpress train is coming - and it has more cars.

BruceN
Posts: 280
Joined: Thu Jan 28, 2010 7:46 am
Location: Slidell, LA

Re: dcsay question

#4 Post by BruceN »

That did it... I thought there had to be a way...

thanks, as always

b
There are only 10 kinds of people - those who understand binary and those who don't :)

Post Reply