Page 1 of 1
REM Command
Posted: Sat Apr 15, 2006 3:52 am
by Tranquil
To be compatible with older basic languages like the good old C64 I would like to have a REM command.
Code: Select all
10 For a = 0 to 255 : Rem Mainloop starts here
20 PokeB(53280,a) : Rem Change Border Color
21 PokeB(53281,255-a) : Rem Background color
30 Next a : Rem Mainloop ends here

Re: REM Command
Posted: Sat Apr 15, 2006 4:36 am
by PB
Are you serious?
Posted: Sat Apr 15, 2006 5:06 am
by chris319
I second the request and I am serious. It's no sillier than using a semicolon for comments instead of an apostrophe. It will improve compatability and take nothing away from PB.
Posted: Sat Apr 15, 2006 9:03 am
by blueznl
write a macro
Posted: Sat Apr 15, 2006 9:32 am
by Dare2
blueznl wrote:write a macro
Had the same thought, but can't think of a way that would do it. (Macros support - that is, ignore - embedded ";" comments so the obvious is out.) Any ideas? Not that I particularly want it, I'm just curious now how to do it via a macro.
Posted: Sat Apr 15, 2006 10:05 am
by blueznl
dunno, don't use macro's, i use my own preprocessor

Posted: Sat Apr 15, 2006 12:19 pm
by jack
care to share your pre-processor?
Posted: Sat Apr 15, 2006 12:20 pm
by Killswitch
I really don't miss REM it's much easier to use a single character for comments - although a REMSTART/REMEND system for blocks of comments would be handy.
Posted: Sat Apr 15, 2006 12:33 pm
by Dare2
Killswitch wrote:although a REMSTART/REMEND system for blocks of comments would be handy.
Yes!
Maybe ;< ;> or something!
I think Freak has many ideas for the IDE and this may be one of them (my opinion only, I haven't heard this) - but he had to draw a line somewhere so we actually got a v4 and some stuff was on the wrong side of the line.
Hopefully things like this will creep in as automatic updates or small 4.0x releases!
Re: REM Command
Posted: Sat Apr 15, 2006 1:19 pm
by Tranquil
PB wrote:Are you serious?
No. I was just joking arrount the last night. It was more an ironic feature request as I saw some C64 demos from breakpoint this weekend on demoscene.tv.
Indeed something like Remstart or Remend would be nice. but I would prefere the symbolic way and not keywords for start commenting and stopping it.
Posted: Sat Apr 15, 2006 1:22 pm
by va!n
nice, lol
Posted: Sat Apr 15, 2006 1:27 pm
by Tranquil
Sys 64738

Posted: Sat Apr 15, 2006 2:28 pm
by Killswitch
Me too Tranquil. REMSTART/REMEND wouldn't fit in with PB's command set.
Posted: Sat Apr 15, 2006 4:08 pm
by chris319
Why reinvent the wheel?
/* block
comment
here */
Posted: Sat Apr 15, 2006 4:45 pm
by Kale
chris319 wrote:Why reinvent the wheel?
/* block
comment
here */
+1