Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Line breaks
Message
From
28/01/2015 23:03:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01614431
Message ID:
01614565
Views:
77
>>I know there a countless alternate ways of doing this but is there a way to display line breaks tucked inside a memory variable displayed in a window
>>I suspect it's one of those 'filetostr strtofile conversions' but i'm having trouble with the syntax
>>thanks for your help
>>
>>mes = 'I need the line break'+chr(13)+'To be displayed in this window'+chr(13)+'any suggestions??'
>>activate window temp
>>? mes  &&& all I get here is 'any suggestions'
>>
>
>Don't use ? to output message. Use messagebox. Also, you may want to try chr(13) + chr(10) instead of just chr(13).

thanks Naomi - actually your chr(10) by itself works fine. Any reason why I shouldn't just use that?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform