DefErr Statement/text/sbasic/shared/03101120.xhpDefErr statementDefErr StatementIf no type-declaration character or keyword is specified, the DefErr statement sets the default variable type, according to a letter range.DefErr: ErrorDefErr eSub ExampleDefErr eErr=Error ' eErr is an implicit error variableEnd Sub