Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Ada error messages

Ada error messages

Ada error messages

Hi everyone,
I am new to ADA and I am trying to learn it. I have installed the GPS development environment and had tryed it with a a hello world programm. Everything worked ok with that one. Then I have tryed another program but this time, I have copyed paste it from an electronic book.It defines a package and its body. Inside it deals with tasks.
When I compile it, it gives me an error: "1:8 keyword body; expected here [see file name]". When I check it, everything is as it should be...??? Can some one help me? I just don't know what to do.
Also, can some one tell me where can I find all error messages with their explanations for GPS ADA compiler. It is not in their manuals.
Thanks in advance

RE: Ada error messages

Can you post the code?  Without seeing what is on line 1 column 8, it is hard to tell.  It may be line terminations.

RE: Ada error messages

Thank you very much for replay. I just found the problem and it comes from my lack expirience on my part. Thank you anyway.

RE: Ada error messages

Hi Sasha ,
I've your post , i'm also a new in ADA , i have the same error inside the following program at line 16.

Line 16    package ES_Simples is
               procedure Lire(F: out Float );
           procedure Afficher(F: in Float );
           procedure Afficher(S: in String ) ;
           procedure Saut_Ligne( N: in Integer:=1);
        end ES_Simples;            
      Thank in advance for your response.

RE: Ada error messages

Barry, please start a new thread.  It may be related to sashad's post but it may be a different problem.  When the mvps answer the questions, you may think that they are answering your problem when the are answering someone else's.  Then everything gets really confused.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close