Comment blocks, along the lines of /* .. */, would be nice.
Useful for blocking out, restoring chunks of code as well as documenting code.
Comment blocks
you can use CompilerIf and CompilerEndIf, for example, the following code will be ignored by PB
Code: Select all
CompilerIf 0
;
; ------------------------------------------------------------
;
; PureBasic - Date example file
;
; (c) 2002 - Fantaisie Software
;
; ------------------------------------------------------------
;
Date$ = FormatDate("%yyyy/%mm/%dd", Date())
Time$ = FormatDate("%hh:%ii:%ss", Date())
MessageRequester("PureBasic - Date Example", "Date: "+Date$+Chr(10)+"Time: "+Time$, 0)
CompilerEndIf