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.
Duplicate definition (ERR: 10)
■ More than one condition can cause this error:
 
  • The name of a procedure is the same name as another
    procedure or variable.
 
  • You attempted to create a new element in your program
    and give it a name that is already being used (for
    example, a CONST statement with the same name as an
    existing variable, or a new variable or procedure with
    the same name as an existing procedure).
 
  • You attempted to create a file with the name of a file
    that is already loaded.
 
  • You attempted to load a file containing a non-form event
    procedure with the same name as an existing procedure.
 
  • You attempted to name a variable with the first two
    letters "FN."
 
  • You attempted to add a $FORM metacommand with a form
    name used in a previous $FORM metacommand.
 
  • For ISAM, you tried to create an index that already
    exists.
 
■ Possible solutions:
 
  • Rename the procedure or variable.
 
  • Use a different constant, variable, procedure, form, or
    file name.
 
  • Cancel the command and rename or unload the conflicting
    file.
 
  • If you plan to change the dimensions of an array while
    your program is running, make sure it is a dynamic array
    and use the REDIM statement to make the change.
 
  • Use REDIM PRESERVE to enlarge or reduce the size of the
    array without losing data.
 
■ If you need additional help, move the cursor to a keyword
  and press F1 to open the Help window.