Use the form short [int] var1[x] only as an indicator array with a structure reference.
short [int] var1[x]