...

View Full Version : vbscript line breaks



velious
04-08-2004, 05: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

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

ex.


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

velious
04-09-2004, 06:14 PM
thanks :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum