Hello

I am having a problem with the following code
VB Code:
  1. Dim numAvailableSlotsDL,numslotsDLTx As Integer

the code throws up an error saying that
Compiel error:
byref argument type mismatch


and the only way to correct it is by writing the definitions as

VB Code:
  1. Dim numAvailableSlotsDL As Integer
  2. Dim numslotsDLTx As Integer

what is the wrong with the first version of my code, i.e.

VB Code:
  1. Dim numAvailableSlotsDL,numslotsDLTx As Integer