Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MessageBox layout
Message
From
01/07/1999 06:15:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
MessageBox layout
Miscellaneous
Thread ID:
00236346
Message ID:
00236346
Views:
37
hopefully this is a simple one for someone out there!

How do you pass parameters to the 'messagebox' function in such a way that your code remains readable whilst retaining reasonable appearance in the output message. In particular, how do you prevent the function 'losing' the spaces you put in between words at the end of lines. For example, if I create cMessageText like this:

'Here is a lengthy message which I want my users ';
+' to read before going on to the next choice in the ';
+' program or else they might do something they ';
+' will later regret!'

it appears on screen with the words at each end of the code lines joined - something like this:

'Here is a lengthy message which I want my usersto read before going on to the next choice in theprogram or else they might do something theywill later regret!'

I know you can avoid the problem by writing a ridiculously long line in the code but that makes the code unreadable (even with autowrap on).

The preferred solution?


Harry
Next
Reply
Map
View

Click here to load this message in the networking platform