Does anyone know what this is? I googled this and couldn't find anything helpful, so maybe someone here can tell me what they are.
Printable View
Does anyone know what this is? I googled this and couldn't find anything helpful, so maybe someone here can tell me what they are.
As far as i remember a sub-procedure does not return a value. I remember using sub-procedures when i programmed in Visual Basic 5 and 6 a long time ago.
I found out yesterday that subroutines and subprocedures are just programming jargon for methods. I was thinking it was something diffrent though. Thanks for your input.
No problem. Yeah it's just more MS BS. :lol:
I couldn't have said it any better.:DQuote:
Originally posted by Dilenger4
Yeah it's just more MS BS. :lol:
I like to bash Microsoft as much as the rest of you, but in their defense, these terms were in use long before anyone ever heard of Bill and/or his company.Quote:
Originally posted by Dilenger4
No problem. Yeah it's just more MS BS. :lol:
Method, subroutine, function, procedure, subprocedure - these are all terms for a block of code that can be called from any place in your code. In today's world of OOP, we use the term method. Thirty years ago, when I started coding, function and subroutine/procedure were the common terms.
Subprocedure generally refers to a subroutine that is nested within a subroutine. Some languages (that I have used) that support this are PL/I and Pascal. Variables declared in the subroutine are 'global' to the subprocedure, but variables declared in the subprocedure are not available to the subroutine. Also, the subprocedure can only be called by its 'parent' subroutine.