Programs
General

Comments
Constants
Exceptions
Execution Environments
Identifiers
Relaxations
Spacing
T-Tables
Text
Variables

Lines
Expressions
Types
Operators
Binary Arithmetic Operators
Boolean Operators
Conversion Operators
Relational Operators
Structural Operators
Unary Arithmetic Operators

Literals
Comments
Constants
Exceptions
Execution Environments
Identifiers
Relaxations
Spacing
T-Tables
Text
Variables

Lines
Expressions
Types
Operators
Binary Arithmetic Operators
Boolean Operators
Conversion Operators
Relational Operators
Structural Operators
Unary Arithmetic Operators

Literals
A function is a sequence of instructions with a defined start and end, and lists of variables that it gets, uses and returns.

Computer programs are sequences of instructions that tell the computer what to do. A sequence of instructions must have a defined start and end. The instructions operate on variables. The function defines the variables that the function takes, uses and returns.

- Name
- Parameters - input variables
- Return variable type
- Local variables
- Lines - instructions
- Comments

The name of the function.

For more information, see identifiers.

A parameter is a variable that the calling function sets.

The function can modify the parameters.

For more information, see Variables.

The return variable is a variable that is set by the function and read by the calling function.

The function specifies the type of the return variable.

For more information, see Variables.

A variable used by the function itself.

For more information, see Variables.

One or more instructions that tell the computer what to do.

For more information, see Line.

A line that specifies or creates the data that is returned from the function.

For more information, see Line.

Comments are text that explains or describes the instructions of a function to a person reading the program.

For more information, see Comments.

We would be more than happy to help you. Our opening hours are 9–15 (CET).

📞 (+47) 93 68 22 77

Nils Bays vei 50, 0876 Oslo, Norway

Copyright © 2018-23 progsbase.com by Inductive AS.