Line seperator. (Shorter lines)
Monkey Forums/Monkey Beginners/Line seperator. (Shorter lines)
| ||
| I read in the update about that the period for line seperation. Is it already possible to seperate lines? In Blitz this was not possible afaik. Anyone want to show a example? |
| ||
| Double post. |
| ||
| There is no explicit line continuation character. Instead it guesses based on what operator the line ends in. If the line ends in a comma or a mathematical symbol it will assume that the code spans multiple lines. Print("Hello " +
"World!!!")
a = b -
2 +
3 *
7
DrawText("Hello",
100,
200)
And so on. |
| ||
| Thanks, I learned something :) This will certainly help me! |