'ERROR : Expected end of statement - [line 1]
Your syntax is wrong: you may be missing parentheses around the arguments if you are getting a return value. For example:
sList = GetValue "sp*"
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License