comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <Stephe.Leake@nasa.gov>
Subject: Re: Newbie question:procedural variables(call by reference)?
Date: 15 Sep 2003 14:20:31 -0400
Date: 2003-09-15T18:23:05+00:00	[thread overview]
Message-ID: <uvfrtrk0g.fsf@nasa.gov> (raw)
In-Reply-To: 3F65EBF4.7CF3@mail.ru

Dmytry Lavrov <m31415@mail.ru> writes:

> There are no procedural variables(calls by reference) in ADA,right?(or i
> missed something...).

You can pass a pointer to a subprogram as a parameter to an Ada
subprogram. Generally, the subprogram must be a library-level
subprogram, but sometimes you can use a local subprogram.

> How to live without 'em? (i guess , 'like in java' ;-)

Generics usually provide a better way to get the same result. "Better"
here means more type-safe, more easily understood.

-- 
-- Stephe



  reply	other threads:[~2003-09-15 18:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-15 16:42 Newbie question:procedural variables(call by reference)? Dmytry Lavrov
2003-09-15 18:20 ` Stephen Leake [this message]
2003-09-15 18:50 ` Gautier Write-only
2003-09-15 18:56 ` Jeffrey Carter
2003-09-16 10:45   ` Georg Bauhaus
2003-09-15 23:22 ` Matthew Heaney
2003-09-18  9:06 ` Dmytry Lavrov
replies disabled

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