comp.lang.ada
 help / color / mirror / Atom feed
* "<" operator
@ 1997-10-07  0:00 dperez
  1997-10-07  0:00 ` Matthew Heaney
  0 siblings, 1 reply; 5+ messages in thread
From: dperez @ 1997-10-07  0:00 UTC (permalink / raw)



how can I write a recursive Ada Function "<" that does the less-than
comparison on linked lists of characters to do the obvious thing?


Thanks




^ permalink raw reply	[flat|nested] 5+ messages in thread
* + Operator
@ 1996-12-09  0:00 FREBOURG Fabrice
  1996-12-10  0:00 ` Paul Chardon
  0 siblings, 1 reply; 5+ messages in thread
From: FREBOURG Fabrice @ 1996-12-09  0:00 UTC (permalink / raw)



Hello,

I'm programming with Ada95 on Solaris 2 and I'm a beginner. I would like some information about using the "+" symbol like a pointer operator for string. 
So I've created the following example.

s: string;
.
.
.
procedure new_String(s_ptr:String_Ptr) is
begin
.
.
.
end new_String;

.
.
.
s:="hello";
new_String(+s);

Could you explain me such a mecanism because I don't understand it. Do I need
to import a special librairy. Could tell me which one.
Thank you an advance for your help.

Fabrice (frebourg@cui.unige.ch)






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1997-10-09  0:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-07  0:00 "<" operator dperez
1997-10-07  0:00 ` Matthew Heaney
1997-10-09  0:00   ` Mats Weber
  -- strict thread matches above, loose matches on Subject: below --
1996-12-09  0:00 + Operator FREBOURG Fabrice
1996-12-10  0:00 ` Paul Chardon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox