Hi Paul ,
try this one ..
''some variable
dim xyz
xyz=topBoxArray(intTopSpot).calcTop3Box(currentRS, "Q1", 10, 1, 10, 8, "current")
inplace of
topBoxArray(intTopSpot).calcTop3Box(currentRS, "Q1", 10, 1, 10, 8, "current")
in case of function u have to...