View Full Version : vbscript line breaks

04-08-2004, 04:44 PM
instead of doing:
msgbox ("something")

i need a way to do something like making a list from the msgbox function as shown below

press any number to continue:
surface area of a shape (1)
voulume of a shape (2)
square root of a number (3)

I was looking at www.w3schools.com and I did not see anything on line breaks

04-08-2004, 05:58 PM
You can add breaks by using VbCrLf.


msgbox("First Line" & VbCrLf & "Second Line")

04-09-2004, 05:14 PM
thanks :)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum