none
getting to variables to be wrote on one line RRS feed

  • Question

  • I apologise n advance but my brain has gone dead so I am going to have to ask a stupid question. I want to get 2 variables to be wrote on one line, I have tried:

    TextWindow.WriteLine(number)

    TextWindow.Write(numbertype)

    but these both end up on different lines I also tried

    textwindow.writeline(number,numbertype)

    but that brought up an error to.

    thanks in advance

    Wednesday, May 30, 2012 4:50 PM

Answers

  • TextWindow.Write(55+",")

    TextWindow.Writeline(66)

    OUTPUT:  55,66

    or:

    TextWindow.WriteLine(55+","+66)

    • Proposed as answer by litdevModerator Wednesday, May 30, 2012 5:55 PM
    • Marked as answer by alex wetton Wednesday, May 30, 2012 8:36 PM
    Wednesday, May 30, 2012 5:51 PM
    Answerer