Computer Science Canada ERRRGGGG!!!!!!! |
Author: | Uber Tankz [ Thu Jun 08, 2006 8:51 pm ] | ||
Post subject: | ERRRGGGG!!!!!!! | ||
umm can someone tell me why this dosent work?
|
Author: | TheOneTrueGod [ Thu Jun 08, 2006 9:05 pm ] | ||||
Post subject: | |||||
should be
Though really, this isn't a good situation to be using multiple procedures... Just use one procedure, and parameters, as was stated in previous posts... |
Author: | Uber Tankz [ Thu Jun 08, 2006 9:11 pm ] |
Post subject: | i know |
i know, right now im just makin it work im a make it efficient later. and whats with the p? why is it there? what does it do? |
Author: | Uber Tankz [ Thu Jun 08, 2006 9:13 pm ] |
Post subject: | uh oh |
um, when i put the p ther it says it cant get the predef from the predef list. can that be fixed |
Author: | Delos [ Thu Jun 08, 2006 9:14 pm ] |
Post subject: | |
'p' is an identifier - a name. The term 'procedure' can not exist without an identifier (i.e., it cannot be anonymous). As for making it more efficient later - I'm afraid this isn't a case of efficiency as it is a case of sufficiency. And for those thinking along the lines of the evils of permature optimization - I'm quite certain that this doesn't even fall into that realm of thought! In brevity: go with TOTG's suggestion and create a single procedure with parameters. |