|
-
Nov 10th, 2004, 11:40 AM
#6
Frenzied Member
Originally posted by Dilenger4
No problem. Yeah it's just more MS BS.
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.
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|