Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-08-2004, 04:44 PM   PM User | #1
velious
Regular Coder

 
Join Date: Jun 2003
Location: California
Posts: 231
Thanks: 0
Thanked 0 Times in 0 Posts
velious is an unknown quantity at this point
Question vbscript line breaks

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
velious is offline   Reply With Quote
Old 04-08-2004, 05:58 PM   PM User | #2
oracleguy
Rockstar Coder


 
Join Date: Jun 2002
Location: USA
Posts: 9,043
Thanks: 1
Thanked 322 Times in 318 Posts
oracleguy is a jewel in the roughoracleguy is a jewel in the roughoracleguy is a jewel in the rough
You can add breaks by using VbCrLf.

ex.
Code:
msgbox("First Line" & VbCrLf & "Second Line")
__________________
OracleGuy
oracleguy is offline   Reply With Quote
Old 04-09-2004, 05:14 PM   PM User | #3
velious
Regular Coder

 
Join Date: Jun 2003
Location: California
Posts: 231
Thanks: 0
Thanked 0 Times in 0 Posts
velious is an unknown quantity at this point
thanks oracleguy

thanks
velious is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:14 PM.


Advertisement
Log in to turn off these ads.