|Original Message (ID '147852') By jf:|
|There isn't a way in Mathematica to "define" a variable as something it isn't yet. A variable represents an integer if an integer is assigned to it; a variable represents a vector if a vector is assigned to it.
That said, there might be a way to fake it with UpValues. See