### multiline mathematical calculations

Posted:

**19 Jan 2017, 18:06**Is it possible to split a mathematical calculation across lines?

I thought it was impossible until I realised that ',' then recently ':',

then just now '.' can be used to achieve multiline expressions.

(Btw can any other characters be used to split expressions across lines?)

This works but looks horrendous, is there something better than this?

I thought it was impossible until I realised that ',' then recently ':',

then just now '.' can be used to achieve multiline expressions.

(Btw can any other characters be used to split expressions across lines?)

This works but looks horrendous, is there something better than this?

Code: Select all

```
vNum := 1 + 2 + 3 + 4 + 5 + (0
. 0) + 6 + 7 + 8 + 9 + 10
MsgBox % vNum
vNum := 1 + 2 + 3 + 4 + 5 + (0
. 0) + 6 + 7 + 8 + 9 + 10 + (0
. 0) + 11 + 12 + 13 + 14 + 15
MsgBox % vNum
Return
```