10-23-2022, 06:03 PM
Ah, thought of another one.
Now I need to figure out a way to exclude a colon used as a label
Myline:
This gets a lilte wonkie because labels can have other statements on them..
Myline: a = 2
I would write that as:
Myline:
a = 2
...but coding styles differ.
Remarks are already in the code so no problem with...
Myline: ' Hey, that's my line!
Wait, I think I have it. In the case of a label the IDE pins the colon to the last character. No space. Of course if someone is writing in Notepad, it's not always going to be that way.
This one might not fit all possible conditions outside the IDE. I'm sure not going to add keyword parsing to this little app.
Pete
Now I need to figure out a way to exclude a colon used as a label
Myline:
This gets a lilte wonkie because labels can have other statements on them..
Myline: a = 2
I would write that as:
Myline:
a = 2
...but coding styles differ.
Remarks are already in the code so no problem with...
Myline: ' Hey, that's my line!
Wait, I think I have it. In the case of a label the IDE pins the colon to the last character. No space. Of course if someone is writing in Notepad, it's not always going to be that way.
This one might not fit all possible conditions outside the IDE. I'm sure not going to add keyword parsing to this little app.
Pete