Table of contents
Collapse the table of content
Expand the table of content

Deftype statements must precede declarations

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Deftype statements include DefInt, DefDbl, DefCur, and so on. This error has the following causes and solutions:

  • A variabledeclaration precedes a Deftype statement atmodule level.

    Move the Deftype statement to precede all variable declarations.

  • A Deftype statement appears in aprocedure.

    Move the Deftype statement to module level, preceding all variable declarations.

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

© 2018 Microsoft