C1012: Declaration mismatch

Top  Previous  Next

Description:

The definition for a procedure does not match a previous declaration for that procedure (a different number or type of arguments and/or a return value)

Example:

 

declare sub x

 

sub x(i as integer) ' error C1012: argument count mismatch (see previous declaration of 'x')

end sub

 

 

See Also

Declare Statement
Sub Statement
Function Statement