Qbasicnews.com

Full Version: multi-line REM ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
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 Wink.
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:

Code:
#IF 0
  code
#ENDIF


Hehe... I see people at Progboards starts to be interested in FB...
Url? @ Antoni?
What URL? Progboards?: http://www.progboards.com/
That's francais :*(
Bien sur!
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.
Pages: 1 2 3 4