Is it possible to prefix each source line with a given character in a selected block of code?
The SQR programming language uses the exclamation mark (!) as a comment indicator. All characters to the right of the exclamation mark to the end-of-line are treated as comments.
Unfortunately, SQR does not have a multiple line block comment construct like the classic /* */ convention of many other languages.
I would like to be able to select a multiple line block of code (via click+dragging the mouse) and then run a macro which would insert an exclamation mark at the beginning of each line.
If anyone knows how to do this, would they please explain how this can be done? (I can easily record a macro which will insert an exclamation mark, move down one row, and move back one character, positioning itself for another iteration of the same macro, but I don't know how to automatically do this for multiple rows within a selected block.)
Jim in Alaska