VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,568 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
As a rule, my VB projects have integer overflow checks enabled. I can disable them for the project by: project, properties, compile, advanced, check 'remove integer overflow checks'. Is there a way to do this for a smaller unit, eg for a VB source file? Or for a VB sub/function? Or for a VB source line/statement? FYI VS 2019 community.
thanks viorel, i thought so but also thought i was missing something.
It seems that VB does not include such features. Consider making a helper assembly (Class Library project) and functions (in VB) that perform the unchecked calculations.