![Avatar](https://secure.gravatar.com/avatar/75580f3a7aaa59e77c05672d7de843be.jpg?s=64&d=identicon&r=g)
Hi,
We are using actipro syntax editor's VB.Net addon in our product. Recently I found that the editor complains about a valid piece of code. Here is the code,
Sub Count
Static Dim tmp As Boolean
tmp = Not tmp
End Sub
The editor throws an error, "Identifier expected", while the same code compiles in Visual Studio 2013 /2010 without any issue. I am not a VB.net developer, however, I understood from some VB.Net forums that Dim is optional in this context.
Is this is a bug or expected behaviour?
Thanks,
Ram.
[Modified 10 years ago]