comp.lang.ada
 help / color / mirror / Atom feed
From: lhuynh@siam.ICS.UCI.EDU (Thomas Huynh)
Subject: Function call or variable?
Date: 5 Mar 93 23:31:21 GMT
Date: 1993-03-05T23:31:21+00:00	[thread overview]
Message-ID: <9303051531.aa21226@Paris.ics.uci.edu> (raw)

Given that the following lines are the only code in the
module, how can one determine if the identifier "func_or_var"
is a function call or variable?  Is it possible
to come any conclusion at all?  Assume that the identifier
"func_or_var" is defined in another module.

-- File starts here
with This_System;
use This_System;

procedure Validate(a, b : in out integer) is
begin
  if (func_or_var)
    a := b;
  end if;
end Validate;
-- End of file



             reply	other threads:[~1993-03-05 23:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-03-05 23:31 Thomas Huynh [this message]
1993-03-07 20:27 ` Function call or variable? Alex Blakemore
1993-03-08  0:34   ` David Emery
1993-03-13  0:39   ` Adam Beneschan
  -- strict thread matches above, loose matches on Subject: below --
1993-03-17 23:58 Robert I. Eachus
1993-03-23 16:02 ` John English
1993-03-24  2:10   ` Robert I. Eachus
replies disabled

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