I use the Powerbasic wordfile and I find that if have a comment which includes the word 'sub' and an open bracket character somewhere in that line, that comment line shows up in the function list. for example, if I write
For X& = 1 to 10
'This comment will show up in the function list because I used the word sub and then used this ( open bracket.
next x
It's a bit annoying and I'm wondering if there is an easy fix? I understand the Regex would have to be altered, but I'm certainly no expert on Regex's, but figured somebody here might be able to assist. I also find that if I have an actual Sub, it won't recognise it unless I also put brackets after it, even when there are no parameters. I'm used to that and put them in my code, but it is a bit annoying if I'm getting code from elsewhere.
For X& = 1 to 10
'This comment will show up in the function list because I used the word sub and then used this ( open bracket.
next x
It's a bit annoying and I'm wondering if there is an easy fix? I understand the Regex would have to be altered, but I'm certainly no expert on Regex's, but figured somebody here might be able to assist. I also find that if I have an actual Sub, it won't recognise it unless I also put brackets after it, even when there are no parameters. I'm used to that and put them in my code, but it is a bit annoying if I'm getting code from elsewhere.