Σημείωση
Η πρόσβαση σε αυτή τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να συνδεθείτε ή να αλλάξετε καταλόγους.
Η πρόσβαση σε αυτή τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να αλλάξετε καταλόγους.
Turns overflow-error checking for integer operations on or off.
Syntax
-removeintchecks[+ | -]
Arguments
| Term | Definition |
|---|---|
+ | - |
Optional. The -removeintchecks- option causes the compiler to check all integer calculations for overflow errors. The default is -removeintchecks-.Specifying -removeintchecks or -removeintchecks+ prevents error checking and can make integer calculations faster. However, without error checking, and if data type capacities are overflowed, incorrect results may be stored without raising an error. |
| To set -removeintchecks in the Visual Studio integrated development environment |
|---|
| 1. Have a project selected in Solution Explorer. On the Project menu, click Properties. 2. Click the Compile tab. 3. Click the Advanced button. 4. Modify the value of the Remove integer overflow checks box. |
Example
The following code compiles Test.vb and turns off integer overflow-error checking.
vbc -removeintchecks+ test.vb
See also
Συνεργαστείτε μαζί μας στο GitHub
Η πηγή για αυτό το περιεχόμενο βρίσκεται στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να ελέγξετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεισφερόντων.