Language - (Procedure|Function) call

Model Funny

About

A function call:

Type

Convention Description Language
Call by value Argument is evaluated and copy of value is passed to the function Default in most Algol-like languages after Algol 60,
such as Pascal, Delphi, Simula and many others.
C, C++, Java (References to objects and arrays are also passed by value)
Call by reference Reference to argument, typically its address is passed Selectable in most Algol-like languages after Algol 60, such as Algol 68, Pascal, Delphi and many others. C++, Fortran, PL/I
Call by result Parameter value is copied back to argument on return from the function Ada OUT parameters
Call by value-result Parameter value is copied back on entry to the function and again on return Algol
Call by name Like a macro – replace the parameters with the unevaluated argument expressions Algol, Scala
Call by constant value Like call by value except that the parameter is treated as a constant

Documentation / Reference





Discover More
Card Puncher Data Processing
Call Stack - Run-time Stack

The primary purpose of a call stack is to store the return addresses of each active function (subroutine). When a function (subroutine) is called, the location (address) of the instruction at which the...
Card Puncher Data Processing
Language - First class-citizen

A first-class citizen is an entity which supports all the operations generally available to other entities. These operations typically include: being passed as an argument, returned from a function,...
Single Letter Name
Language - Name (Program Entity)

Name in a language code A name is a property of a program entity. The name permits to: refer to a variable, type, statement or to call a function (ie run) Tip: This is not a one.
Card Puncher Data Processing
Python Web - Web Server Gateway Interface (WSGI)

The Web Server Gateway Interface (WSGI) is a interface that specify how web servers should forward requests to web applications or frameworks. It's written in the Python programming language. A...



Share this page:
Follow us:
Task Runner