Page 1 of 1

Multi-line statements?

Posted: Mon Jun 30, 2003 7:41 pm
by Tipperton
Just wondering if there is a way to continue long statements across multiple lines. Like this:

Code: Select all

MessageRequester("Could not open file",
                 "The file you specified could not be openned.",
                 #PB_MessageRequester_Ok)
Thanks.

Posted: Mon Jun 30, 2003 10:42 pm
by Num3
Haven't happen to me cause i use:

Code: Select all

; message.s  = "Number of blobs:    "  + Str(blob)+Chr(10)+Chr(13)
; message.s  + "Number of monks:    "  + Str(monk)+Chr(10)+Chr(13)
; message.s  + "Number of dragons:  "  + Str(dragon)+Chr(10)+Chr(13)
; message.s  + "Number of vampires: "  + Str(vamp)+Chr(10)+Chr(13)
; message.s  + "Number of werewolfs:"  + Str(werewolf)+Chr(10)+Chr(13)
; message.s  + "Number of ghosts:   "  + Str(ghost)+Chr(10)+Chr(13)
; message.s  + "Number of SOD:      "  + Str(sod)+Chr(10)+Chr(13)+Chr(10)+Chr(13)
; message.s  + "Total:      "  + Str(total)+Chr(10)+Chr(13)
;
;
;
; MessageRequester("Maze",  message, 0 )

Re: Multi-line statements?

Posted: Tue Jul 01, 2003 12:26 am
by PB
> a way to continue long statements across multiple lines

No. See here for more:

viewtopic.php?t=6574