Re: Tutorial - Smarterchild copy
Nice. You need to make sure you validate it, however - in case the user returns a null result.
Incidentally, the InputBox() function is not always the best one to use - if the user clicks Cancel, then "" gets returned. If the user clicks OK and doesn't type anything, then "" gets returned. In other words, there's no way of telling if the user pressed Cancel or not. Therefore, maybe a custom dialogue box would be a better choice for a nontrivial program.
__________________
[TRUTH] TcM is the best moderator ever! [/TRUTH]
"Valid XHTML is like sex - everybody claims to have the same goal, but everybody has their own tricks and results vary wildly."
Mr. Xav | Website | Forums | Blog
|