procedure
Subroutine that does not return a value.
Syntax
procedure name(x: Type); begin ... end;
Description
Does not return a result, just performs an action; called by its name.
Example
Loading editor…
Expected output
Hello Alex
When to use?
Operations with side effects.