Multi-line statements?

Just starting out? Need help? Post your questions and find answers here.
Tipperton
Addict
Addict
Posts: 1286
Joined: Thu Jun 19, 2003 7:55 pm

Multi-line statements?

Post 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.
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post 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 )
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Multi-line statements?

Post by PB »

> a way to continue long statements across multiple lines

No. See here for more:

viewtopic.php?t=6574
Post Reply