Qbasicnews.com
April 12, 2021, 08:05:38 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Back to Qbasicnews.com | QB Online Help | FAQ | Chat | All Basic Code | QB Knowledge Base
 
   Home   Help Search Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: multi-line REM ?  (Read 10404 times)
ShadowWolf
Wandering Guru
***
Posts: 389



« Reply #30 on: May 07, 2005, 11:17:41 AM »

Lies all Lies people can not live with out a TV or a PC anyone who says other wise is a evil dirty lier Smiley
Logged
Poly Progr@ms
New Member

Posts: 7


WWW
« Reply #31 on: May 08, 2005, 06:58:54 AM »

I didn't thought I was going to start a debate,  :rotfl: .

"#if 0 ... #endif" is a very effective way to do all this, but maybe beginners would appreciate to be able to "read" the code, as BASIC has always been some kind of readable stuff, even for someone who doesn't program all day long.

I think there was a BASIC which used REMSTART and REMEND... But anyway, COMMENT might be too dangerous because it might have been used sometimes as a variable name for a form or anything.

Don't argue about that, #if 0 just do what I was looking for : a simple way to DEBUG code. I think we should avoid it AMAP in releases but while working on a buggy project, it's great.

Thank you all.
Logged

reeBASIC, our future in here.
aetherfox
Been there, done that
*****
Posts: 1071



WWW
« Reply #32 on: May 09, 2005, 09:41:08 AM »

There is no need for multiline comments.  It is seriously a sad thing that you can't put an apostrophe in front of your code.

Sure, it's wonderful to be able to comment out blocks of code, but a much better way of doing that is to use conditional compilation switches.
Logged

~''i|~thrFx~|i''~-  
avinash.vora - http://www.avinashv.net
VonGodric
Ancient Guru
****
Posts: 674



WWW
« Reply #33 on: May 09, 2005, 09:43:02 AM »

beside in FBIde 0.4 you can easily comment block or line of code in and out.
Logged

url]http://fbide.sourceforge.net/[/url]
relsoft
*/-\*
*****
Posts: 3927



WWW
« Reply #34 on: May 10, 2005, 07:40:06 AM »

FBIde 0.04 Kicks butt!!!

I had a little test and it's amazingly good!

Von: Line numbers should not be defaulted as ON.
Logged

y smiley is 24 bit.


Genso's Junkyard:
http://rel.betterwebber.com/
Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!