How to go new line (textwindow.writeline) sb

Answered How to go new line (textwindow.writeline) sb

  • Sunday, October 07, 2012 12:30 PM
     
     

    I want to make text at windows console look like this =

    this is first line

    this is second line

    How can i make those 2 sentences with one textwindow.writeline cmds?   I can't do this textwindow.writeline("this is first line

                                                                                                                                                                 this is second line")

    I don't want to do this:

    textwindow.writeline("this is first line")

    textwindow.writeline("this is second line")

    Also how can i make input from user looks like ****  instead of normal text abcde  ( i need it for password entry)

    Thank you.

All Replies

  • Sunday, October 07, 2012 12:35 PM
    Moderator
     
     Answered Has Code

    You need to add aspecial LineFeed character:

    LF = Text.GetCharacter(10)
    TextWindow.WriteLine("this is first line"+LF+"this is second line")

    • Marked As Answer by TheGuxi Sunday, October 07, 2012 12:36 PM
    •  
  • Sunday, October 07, 2012 2:51 PM
     
     

    About the marking text as asterisks, I think you should look at this forum here.


    I am a 10 year old that loves math, games, and computers. "Everyone is potentially great, you just have to turn it into kinetic greatness."