Menu

#44 Integer division operator is missing from Visual Basic highlighter

open
nobody
5
2015-01-03
2015-01-03
No

In VB, there is a \ (backslash) Operator, which -according to MS-:
"Divides two numbers and returns an integer result."
(expression1 \ expression2)

You can verify this here:
http://msdn.microsoft.com/en-us/library/0e16fywh.aspx

But this operator is unknown for SynHighlighterVB.
I've modified SynHighlighterVB.pas to recognise blackslash as an operator. The modified file is in the attachment.
I've simply inserted this code to line 484: " '\': SymbolProc; ".

1 Attachments

Discussion


Log in to post a comment.