ener.hlp (Topic list)
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.
Event procedure argument has incorrect data type
■ One or more arguments in this event procedure contain
  invalid data type declarations. For example:
 
  ┌─Wrong────────────────────────────────────────────────┐
  │ SUB Form_Unload (Cancel AS STRING)                   │
  └──────────────────────────────────────────────────────┘
 
  ┌─Right────────────────────────────────────────────────┐
  │ SUB Form_Unload (Cancel AS INTEGER)                  │
  └──────────────────────────────────────────────────────┘
 
■ Possible solution:
 
  • Check the event procedure's Help topic for a list of
    valid arguments and their data types and change the
    reference as required.
 
■ If you need additional help, move the cursor to a keyword
  and press F1 to open the Help window.