Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Declaring a multi-line string

Status
Not open for further replies.

fugigoose

Programmer
Jun 20, 2001
241
0
0
US
I need to make a string with more than one line. I tried this:

myString = ""
myString.line[2] = "hello"

But it says it's the wrong type. Is this because myString is only considered a one line string? If so, how would I declare a multi-line string?
 
The way I would do it is:

myString = " " & RETURN & "hello"
sprite(me.spriteNum).member.text = myString

The RETURN is like the normal ENTER when you want to go to the next line in MS Word.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top