Charles Huyck wrote:
> Is there a way to use \n or some other keyword to insert carriage returns in
> expression labels automatically, so that you don't have to go back later and
> edit address labels?

Hi Charles.
Yes, there is. 
Placing a carriage return, Chr$(10) in the expression will do just that.
For example, String1 + Chr$(10) + String2 will output

String1
String2

For ease, in MB programming I use to define a NL constant like CLS is
defined in mapbasic.def like this

Define NL Chr$(10)

Thus, the example above would read String1 + NL + String2

Maybe someone else can suggest a more elegant method.

HTH Mats.E
-- 
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:Email/ [EMAIL PROTECTED]                     ICQ#9517386       :
:---------------------------------------------------------------------:
:Mail/ GISKRAFT, Mats Elfstroem, Vaepplingv 21, SE-227 38 LUND, SWEDEN:
:Phones: +46 46 145959, +46 70 595 3935                               :
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to