Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Using Multiple lines in Messages

Keywords: message multiple lines CRLF 

How do I cram multiple lines or more information into a message box function without exceeding the maximum line length.

Sometimes it is necessary to have long lines of text appear in a message type box. However, the maximum line length can limit the size of your message. In order to increase the length of a message or function line, concatenate the information together. Set a variable for each of your lines and then use StrCat to glue the lines together.

Here is an example of concatenating several lines of text together to appear in a message.

Example:


        info1="                                                   Hi!"
        info1="This mini app diddles with the Flying Windows Screensaver."
        info2="Use this to modify the SSFLYWIN.SCR file to insert a new character."
        info3="Don't worry, you can return to the original at any time."
        info4="Do you want to continue?"

        Message("FunSaver", StrCat(info1,@crlf,info2,@crlf,info3,@crlf,info4))
   


Article ID:   W13002
Filename:   Using Multiple lines or more than 256 characters.txt