Jump to content
Developer Wiki and Function Reference Links Read more... ×
Sign in to follow this  
do it

text

Recommended Posts

Does anyone know how to get a carriage return, or new line when working with strings?

Share this post


Link to post

What I mean is when sending strings to a message or dialog window and I would like more than one line. Is it possible to do this?

Share this post


Link to post

A CR in the string itself also works:

[/code]

abuseString1 := 'Can't you stupid user select

- a rectangle

- a polygon

- an arc or

- a circle?

GEEEZ!';

ALRTDIALOG(abuseString1);

[/code]

In text file output, CHR(13) or a constant (CONST pling = CHR(13);) is required if WRITELN is not a suitable mechanism.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×