comp.lang.ada
 help / color / mirror / Atom feed
From: frebourg@cui.unige.ch (FREBOURG Fabrice)
Subject: + Operator
Date: 1996/12/09
Date: 1996-12-09T00:00:00+00:00	[thread overview]
Message-ID: <58hf9j$bqe@uni2f.unige.ch> (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)






             reply	other threads:[~1996-12-09  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-09  0:00 FREBOURG Fabrice [this message]
1996-12-10  0:00 ` + Operator Paul Chardon
  -- strict thread matches above, loose matches on Subject: below --
1997-10-07  0:00 "<" operator dperez
1997-10-07  0:00 ` Matthew Heaney
1997-10-09  0:00   ` Mats Weber
replies disabled

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