
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 11 years ago]