The IDE highlights variable types such as Boolean and PersistentInteger.
It doesn't highlight PersistnentString_10 (bounded), although it compiles and works fine, meaning that I haven't mis-typed.
I've looked in the zbasic.api in the hopes that I could add it, but it seems that variable types aren't in there.
-Don
Variable type highlighting
Re: Variable type highlighting
The keywords are listed in the file called bas.properties. PersistentString is listed here.Don_Kirby wrote:The IDE highlights variable types such as Boolean and PersistentInteger.
Well apart from the small typo above, you could add PersistentString_10 to the bas.properties file yourself. Of course the problem is that you might also want to add PersistentString_12, PersistentString_13, PersistentString_15 etc. You now I think you can see the reason why it is not listed in bas.properties.Don_Kirby wrote:It doesn't highlight PersistnentString_10 (bounded), although it compiles and works fine, meaning that I haven't mis-typed.
Mike Perks
Re: Variable type highlighting
An alternative syntax, shown below, is highlighted.Don_Kirby wrote:It doesn't highlight PersistnentString_10 (bounded)
Code: Select all
Dim ps as PersistentString(10)
- Don Kinzer