09.06.2011, 17:42
You don't need to use sscanf to split params when you only need 1 parameter. You can use isnull to confirm there's anything typed after the command and params contains the main string, so you can just use params if you want a string, or you can use strval(params) to convert the params string into an integer.
