Re: OT: Re: help with include and library files in GPS



Steve wrote:

Ada certainly does use the concept of include. If it didn't, you wouldn't be able to utilize one package from another. In Ada it is the "with" statement that includes a reference to another packages specification.

To me, the concept of "include" is treating the contents of one file as if they were textually present in another file at the time of compilation. An Ada context clause does not do this.

--
Jeff Carter
"I wave my private parts at your aunties."
Monty Python & the Holy Grail
13
.



Relevant Pages

  • Re: OT: Re: help with include and library files in GPS
    ... statement that includes a reference to another packages specification. ... All other modern high level languages use import. ... Ada programming at: http://ada.krischik.com ...
    (comp.lang.ada)
  • Re: OT: Re: help with include and library files in GPS
    ... be able to utilize one package from another. ... In Ada it is the "with" ... statement that includes a reference to another packages specification. ...
    (comp.lang.ada)
  • Re: Question about OO programming in Ada
    ... when I declare a procedure ... Both the Ada Rationale and the Guide for C/C++ programmers say that you have ... The Ada 95 Reference says that the "all" attribute provides read-write ... Does that help to avoid casting as well? ...
    (comp.lang.ada)
  • Re: Pass by reference
    ... I am only aware of one case in Ada where passing by reference ... In Ada I have found that if you just let the compiler to its thing, ... an array of elementary types does not meet the ...
    (comp.lang.ada)
  • Re: What computer language is used a lot in the IT industry?
    ... I'm not an ada guy... ... A parameter_specification declares a formal parameter of mode in, in out, ... A parameter is passed either by copy or by reference. ... A type is a by-reference type if it is a descendant of one of the ...
    (comp.programming)