hi yall
how do I make a multi-line rem (or ') in freebasic ? it lacks in qbasic and i hope you thought of it before me
.
Multi line rem? just create a new rem for each line you need
Code:
'this is rem 1
'this is rem 2
'and so on
And to comment out several lines of code:
Hehe... I see people at Progboards starts to be interested in FB...
I was going to add
Code:
comment
...
...
end comment
But i'm not sure if "comment" could become a reserved word, that would clash with old sources.. dunno.. the preprocessor "trick" Antoni showed does the same job.
Why not use #comment, or better yet, REM TO...END REM, or REM_ and make that crappy used-up keyword worth something. That's all preprocessor stuff anyway.