I noticed that the text files for RTC contain what would appear to be C-style comments, but are really just single-line comments marked by a /* combiation.
Support for true C-style comments (Everything after /* is a comment until a */ is found) would be nice.
C-style comments
Moderator: George Gilbert
Forum rules
Please read the Forum rules and policies before posting. You may
to help finance the hosting costs of this forum.
Please read the Forum rules and policies before posting. You may

the point being ?
Hi Sophia !
what is the actual point of these comments opposed to ;remarks ?
how do they differ ?
what is the actual point of these comments opposed to ;remarks ?
how do they differ ?
from your old mate
c h i e f y
global chiefy to yer old seadog maties
c h i e f y
global chiefy to yer old seadog maties
clarification
ooops my reply isn't too clear
lines in notepad edits that start ; have no effect on the compile
it seems to me that lines in notepad edits that start / are also ignored
so
both ; and / inform the compiler to read no further
Sophia what is the significance of / over ; ?
lines in notepad edits that start ; have no effect on the compile
it seems to me that lines in notepad edits that start / are also ignored
so
both ; and / inform the compiler to read no further
Sophia what is the significance of / over ; ?
from your old mate
c h i e f y
global chiefy to yer old seadog maties
c h i e f y
global chiefy to yer old seadog maties
- George Gilbert
- Dungeon Master
- Posts: 3022
- Joined: Mon Sep 25, 2000 11:04 am
- Location: London, England
- Contact:
Re: clarification
There is no difference.
The compiler works by reading each line in turn and interpreting it. When it encounters a / or ; at the start then it ignores the entire rest of the line.
Implicit in that is that comments don't need "closing" (as in C style comments), just a character at the start of the line to tell it the rest of it is a comment. In the examples however I've tended to close each comment - this however is purely force of habit and isn't needed
The compiler works by reading each line in turn and interpreting it. When it encounters a / or ; at the start then it ignores the entire rest of the line.
Implicit in that is that comments don't need "closing" (as in C style comments), just a character at the start of the line to tell it the rest of it is a comment. In the examples however I've tended to close each comment - this however is purely force of habit and isn't needed
