Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multi-line REM ?
#1
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.
reeBASIC, our future in here.
Reply
#2
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
Reply
#3
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...
Antoni
Reply
#4
Url? @ Antoni?
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#5
What URL? Progboards?: http://www.progboards.com/
Antoni
Reply
#6
That's francais :*(
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#7
Bien sur!
Antoni
Reply
#8
Online French-English Dict
:rotfl:
i]"But...it was so beautifully done"[/i]
Reply
#9
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.
Reply
#10
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)