Hello, Reader ^^! Back again with source code. This time is a basic syntax Procedure in Ada programming language. This source code is to show how to do Procedure statement in Ada language. Here's the template:
procedure <ProcedureName>(<input1>,...,<inputN>: in <value-type>;<output1>,...,<outputN>: out <value-type>) is
begin
<Statement>
end <ProcedureName>;
Note: <input1>,...,<inputN>: in <value-type> is optional, only use it if there is input required in the procedure, while <output1>,...,<outputN>: out <value-type> if there is output required in the procedure.
Okay, that's all I can say. Thank you for reading ^^!
Download/View Source Code
- Dropbox
- Dropbox (Repository)
- GitHub
- GitHub (Repository)
begin
<Statement>
end <ProcedureName>;
Note: <input1>,...,<inputN>: in <value-type> is optional, only use it if there is input required in the procedure, while <output1>,...,<outputN>: out <value-type> if there is output required in the procedure.
Okay, that's all I can say. Thank you for reading ^^!
Download/View Source Code
- Dropbox
- Dropbox (Repository)
- GitHub
- GitHub (Repository)
No comments:
Post a Comment