[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Comments in SQR



If you download the editor UltraEdit.  (http://www.ultraedit.com)  There is a
menu item under Column called Column Mode.
If you set this option then highlight the lines that you want to comment out  (
the first column of each line) and go back to
menu item Column and select Insert/Fill Columns and type ! and hit OK all your
lines are commented and you dont have to
worry about moving them to another paragraph, cutting/pasting, etc.

There also could be other editors that have similiar functionality.

Pam

Greg Hesla wrote:

> Well, I don't know that there is a /* ... */ type of comment structure in
> SQR, but what I do when I need to remove a block of code from being
> processed is create a new procedure called Ignore-Me. I then cut all the
> code that I don't want to be processed, and paste it in the new Ignore-Me
> procedure. Where the code was, I put '!do Ignore-Me'. This way, I know where
> all that code went, and I don't have to write exclamation points on 50 lines
> of code. When done testing, or debugging, I just put the code back where it
> belongs.
>
> Good Luck
>
> Greg
>
> ----- Original Message -----
> From: Kimberly Blumenberg <KBLUMEN@SEARS.COM>
> Sent: Wednesday, August 18, 1999 11:01 AM
> Subject: Comments in SQR
>
> > Hello all! Is there a way to comment an entire block of code in SQR
> without
> > going through the tedious task of inserting an exclamation mark at the
> beginning
> > of each line?
> >
> > Thanks!
> >