WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

FAQs - Frequently Asked Questions

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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
File Created: 1999:04:15:16:51:06
Last Updated: 1999:04:15:16:51:06