Multi-line comments Log Out | Topics | Search
Moderators | Register | Edit Profile

Zillions of Games Discussion Forum » Desired Features for Zillions of Games » Multi-line comments « Previous Next »

Author Message
Ronald W Brierley (Ronaldwb)
New member
Username: Ronaldwb

Post Number: 63
Registered: 2-2003
Posted on Thursday, May 24, 2007 - 11:48 am:   

More than anything else I would like to have a multi-line comment system as in Java.
In editing an already programmed game to become a new game I often find it necessary to temporarily comment out groups of code lines. It is tedious to have to resort to editing in a semicolon at the front of each line to do this. When testing of the current form of the program is satisfactorily completed I usually wish to restore the edited out lines. This leads to yet another tedious editing session.
Please can we have the use of pairs of // symbol combinations, or some such notation, introduced to enclose lines which are to be ignored until removed?
Greg Schmidt (Gschmidt2)
New member
Username: Gschmidt2

Post Number: 18
Registered: 1-2007
Posted on Thursday, May 24, 2007 - 12:24 pm:   

I'll sometimes keep a 'notepad' session open in order to cut and paste to and fro. It's not a perfect solution, but it works.

-- Greg
David J Bush (Twixter)
New member
Username: Twixter

Post Number: 43
Registered: 7-2002
Posted on Thursday, May 24, 2007 - 2:13 pm:   

My editor, SynEdit, allows the user to define a language such as ZRF for example. You input a set of key words, as well as the delimiter characters for comments, stuff like that. The resulting plain text file looks color coded to me, and I can comment out a block of code with a single click. SynEdit is free at http://synedit.sourceforge.net/

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: