I would like to have (maybe optional) the feature, to write commands with a lot of arguments in multiline, like in C/C++ for CreateWIndow_() as example.
A coma at the end of the line would define, there are more arguments next line, until the ")" is followed.
Multiline support for arguments
Multiline support for arguments
va!n aka Thorsten
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Re: Multiline support for arguments
It already works like that.
Re: Multiline support for arguments
Great!! Fred, thanks for having this nice feature!
va!n aka Thorsten
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Re: Multiline support for arguments
It would be cool to have an little example here. I do not remember if a special character is required at the end of each line which contained in a composed line...
Re: Multiline support for arguments
It's in the manual under "General Syntax Rules" -> https://www.purebasic.com/documentation ... rules.htmlOlli wrote:It would be cool to have an little example here. I do not remember if a special character is required at the end of each line which contained in a composed line...
Re: Multiline support for arguments
Olli wrote:It would be cool to have an little example here.
Code: Select all
OpenWindow(0,
#PB_Ignore,
#PB_Ignore,
800,
600,
"",
#PB_Window_ScreenCentered | #PB_Window_SystemMenu | #PB_Window_SizeGadget)
Hygge
Re: Multiline support for arguments
Thank you for your 2 answers.