|
|
| Author |
Message |
Don_Kirby
Joined: 15 Oct 2006
Posts: 329
Location: Long Island, New York
|
|
Posted: 07 February 2008, 1:38 AM Post subject: Variable type highlighting |
|
|
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 |
|
| Back to top |
|
 |
mikep
Joined: 24 Sep 2005
Posts: 765
Location: Austin, TX
|
|
Posted: 07 February 2008, 3:35 AM Post subject: Re: Variable type highlighting |
|
|
| Don_Kirby wrote: | | The IDE highlights variable types such as Boolean and PersistentInteger. | The keywords are listed in the file called bas.properties. PersistentString is listed here.
| Don_Kirby wrote: | It doesn't highlight PersistnentString_10 (bounded), although it compiles and works fine, meaning that I haven't mis-typed.
| 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. |
|
| Back to top |
|
 |
dkinzer Site Admin
Joined: 03 Sep 2005
Posts: 2499
Location: Portland, OR
|
|
Posted: 07 February 2008, 5:55 AM Post subject: Re: Variable type highlighting |
|
|
| Don_Kirby wrote: | It doesn't highlight PersistnentString_10 (bounded)
| An alternative syntax, shown below, is highlighted.
| Code: | | Dim ps as PersistentString(10) |
|
|
| Back to top |
|
 |
|