Function Calls

Because functions return a value, function calls are expressions. For example, if you've defined a function called Calc that takes two integer arguments and returns an integer, then the function call Calc(24, 47) is an integer expression. If I and j are integer variables, then I + Calc(j,8) is also an integer expression. Examples of function calls include

Volume(Radius, Height) GetValue

TSomeObject.SomeMethod(I,J);

For more information about functions, see Procedures and functions.

Project Management Made Easy

Project Management Made Easy

What you need to know about… Project Management Made Easy! Project management consists of more than just a large building project and can encompass small projects as well. No matter what the size of your project, you need to have some sort of project management. How you manage your project has everything to do with its outcome.

Get My Free Ebook


Post a comment