Page 2 of 2
Re: Check Variables
Posted: Mon Mar 17, 2014 12:11 pm
by luis
@SniffTheGlove
Or just search in the forum, it has been asked many times ->
http://www.purebasic.fr/english/viewtop ... 13&t=52873
Re: Check Variables
Posted: Mon Mar 17, 2014 10:08 pm
by Tenaja
BTW, anybody trying this out should be aware that it does not work with batch "type" declarations--it only works with individual typing.
i.e. this app works with this syntax...
...and does NOT work with this:
It will need additional work to make it flexible enough to handle all of pb's possible syntaxes. (Unfortunately, I do not have that time right now.) It is also hard-coded to require a space after the declaration keyword, and not a tab or other pb-allowed character. So, while it works, it only works under specific circumstances.
Re: Check Variables
Posted: Tue Mar 18, 2014 4:54 am
by Demivec
Tenaja wrote:BTW, anybody trying this out should be aware that it does not work with batch "type" declarations--it only works with individual typing.
i.e. this app works with this syntax...
...and does NOT work with this:
It will need additional work to make it flexible enough to handle all of pb's possible syntaxes. (Unfortunately, I do not have that time right now.) It is also hard-coded to require a space after the declaration keyword, and not a tab or other pb-allowed character. So, while it works, it only works under specific circumstances.
I have done this with batch "type" declarations of this sort in the jaPBe source code (the IDE's F1 help search for variables). I might extract some of the code to add to this.
Re: Check Variables
Posted: Tue Jul 31, 2018 5:25 pm
by skywalk
Hi Demivec, I am considering writing a variable auditor but curious if you ever exported the jaPBe functions you mentioned here?