DIR Return Create A Forum - Home
---------------------------------------------------------
Ada Programming Forum
HTML https://adaprogrammingforum.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Ada 83 - 2012 and Beyond
*****************************************************
#Post#: 5--------------------------------------------------
Posting Code
DIR By: Ada Lovelace
Date: October 8, 2021, 9:15 am
---------------------------------------------------------
When you post Ada/SPARK code, it makes it so much easier to read
if you use CODE TAGS. Copy and Paste or type your code first,
then highlight all the code you want to post. Finally, press the
'code' button #. This will encase your text in code tags which
then changes the text to a programming style look.
--- Code ---
with Ada.Text_IO; use Ada.Text_IO;
- - procedure begins execution
procedure Sample is
begin
New_Line;
Put("Welcome to Ada Programming Forums!");
New_Line;
end Sample;
--- End Code ---
*****************************************************
Page 1 of 1