Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Resolving a Compile-time Error
◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Resolving a Compile-time Error
■ A compile-time error occurs when you compile your program. It may be
caused by an incorrectly matched control structure, such as a NEXT
statement used without a corresponding FOR statement, or a programming
mistake that violates the rules of Visual Basic, such as a misspelled
word or a missing separator.
■ Visual Basic automatically checks your code for errors when you choose
the Make EXE File item from the Run menu, or Start from the Run menu.
If a line contains code that is not meaningful to Visual Basic, it
displays an error message.
■ To get Help on syntax for Visual Basic functions, statements, properties,
events, or methods while working in the programming environment, type or
select the keyword, the property, event, or method name, and press the F1
key.