Posts: 7
Threads: 2
Joined: Sep 2003
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
.
reeBASIC, our future in here.
Posts: 235
Threads: 30
Joined: Jun 2002
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
url=http://www.smithcosoft.com]SmithcoSoft Creations[/url]
"If you make it idiot proof, someone will make a better idiot" - Murphy's Law
Posts: 1,407
Threads: 117
Joined: Dec 2002
And to comment out several lines of code:
Hehe... I see people at Progboards starts to be interested in FB...
Antoni
Posts: 3,288
Threads: 167
Joined: Nov 2001
Posts: 1,407
Threads: 117
Joined: Dec 2002
Posts: 3,288
Threads: 167
Joined: Nov 2001
Posts: 1,407
Threads: 117
Joined: Dec 2002
Posts: 503
Threads: 31
Joined: Feb 2005
i]"But...it was so beautifully done"[/i]
Posts: 922
Threads: 15
Joined: Jun 2003
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.
Posts: 979
Threads: 27
Joined: Aug 2001
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.