Also, SPHITSP must either be used in an expression or assigned to a variable. Otherwise it just returns a syntax error, because nothing is being done with it's return value.