Tagged: Comment .crm
September 11, 2017 at 3:35 pm #5070DaveParticipant
Would it be possible to implement a comment block? I usually stress the need to document code, at least putting a title, your name and a date. Otherwise the filename has to carry all that information. ThanksJune 29, 2018 at 7:17 pm #7715Dr JohnParticipant
I have used an assignment block to record my name as author, and the date.
JohnFVersion = 3 + 29 + 06 + 2018
I did have to create a new variable “JohnFVersion” but by not including it in the program, it has no run-time effect.
But a comment block with free text would be great.August 20, 2018 at 1:48 pm #7883Dr JohnParticipant
I have found a way of putting in single-line positionable comments.
Just drop a variable onto the screeen and save the file.
Edit the .crm file to edit the name of the positioned variable.
You can inclide spaces, punctuation, numbers, but not control characters.
save the .crm file in the text editor, reload in the crumble editor and your comments can be positioned where you like.
See attachment below.
Not suitable for students however!
Attachments:September 27, 2018 at 10:24 am #7980DanielModerator
A comment block certainly wouldn’t go amiss – it wouldn’t be very difficult to add into the software either! I’ll take a note of it and pass it onto Joseph.
As for your workaround John, I like it! But as you say, not too student friendly.
DanNovember 18, 2020 at 10:37 am #22833PaulHParticipant
Hello. Could I enquire after this not-so-new feature request?
I would really like to stress how useful to both tutors and students it is to be able to do this easily. It really helps to be able to add a comment block briefly outlining what the following code does (or needs to do) that a student can then consider.
- You must be logged in to reply to this topic.