Hi Bill, looks like I got started using ## as a comment indicator somewhere along the way (similar to the way -- and // are usually paired). Any chance lcTaskList could have that specified as an option?
Thanks
-- Mark
Using ## as a comment indicator
Moderators: heatherlaine, kevinmiller, robinmiller, bvlahos
-
- VIP Livecode Opensource Backer
- Posts: 931
- Joined: Thu Nov 13, 2008 6:48 am
Using ## as a comment indicator
macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS
Targets: Mac, iOS
Re: Using ## as a comment indicator
The LiveCode standard for the pound sign is only one. The other symbols "--" and "//" are in pairs.
Essentially you are making the extra pound sign part of the comment. I could make the change but I'll have to think about any unintended consequences of non-standard comments.
Essentially you are making the extra pound sign part of the comment. I could make the change but I'll have to think about any unintended consequences of non-standard comments.
Re: Using ## as a comment indicator
Does not support /* */ type comments either, and those are standard
Re: Using ## as a comment indicator
True but I don't think it makes sense to do it in the comment block. In the example below I would have to keep track of any of the index words inside the entire block.
/*
This is the comment block
MARK the text in a comment
*/
I could add /* and */ but the index words would have to be right after. Example: /*MARK
Indexing the word inside the block would be difficult.
Let me know if it makes sense to index inside the comment block. It doesn't to me because you could do.
/*
This is the comment block
--MARK the text in a comment
*/
/*
This is the comment block
MARK the text in a comment
*/
I could add /* and */ but the index words would have to be right after. Example: /*MARK
Indexing the word inside the block would be difficult.
Let me know if it makes sense to index inside the comment block. It doesn't to me because you could do.
/*
This is the comment block
--MARK the text in a comment
*/
Re: Using ## as a comment indicator
I was actually just being a pain in the butt