Start from a main routine: Difference between revisions

add Ada
(→‎Tcl: Added description)
(add Ada)
Line 5:
Languages that always run from main() can be omitted from this task.
 
=={{omit fromheader|PythonAda}}==
 
In Ada, the "Main" procedure doesn't have to follow a special naming scheme. Any procedure will do.
 
<lang ada>with Ada.Text_IO;
procedure Foo is
begin
Ada.Text_IO.Put_Line("Bar");
end Foo;</lang>
 
=={{header|AWK}}==
 
Line 98 ⟶ 107:
{{omit from|C}}
{{omit from|C++}}
{{omit from|Python}}
{{omit from|Java|Uses a main method}}
{{omit from|Dc|Scripts start running from the top}}
256

edits