On 4/27/2004 1:29:35 AM, John H wrote:
>Since this is my first macro I'd appreciate any feedback,
>help, suggestions, etc.
Your macro is nice done for your first VEDIT macro!
Since you asked for comments, here we go...
Some comments to your macro (my *personal* opinion and style):
can be done in one command:
can be written as
to be better readable.
Goto's should be avoided.
They may produce unstructured, hard to maintain macros.
Newlines are not always 2 bytes long. If you are editing
Unix-style text it's only a <LF> for example.
There is a variable to help here:
Number of chars in "newline" (See "File Types"). "0" in record/binary mode.
I attached another version of your macro to this message: how I would code it (e.g.).
Perhaps you can get some more infos from that.