comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <bauhaus@futureapps.invalid>
Subject: Re: actual for variable name must be variable compiler error
Date: Mon, 29 Sep 2014 23:33:44 +0200
Date: 2014-09-29T23:33:44+02:00	[thread overview]
Message-ID: <m0cj7o$4ms$1@dont-email.me> (raw)
In-Reply-To: <m0cce3$g1o$1@dont-email.me>

On 29.09.14 21:37, Simon Clubley wrote:
> void update_value(unsigned long int a)
> 	{
> 	printf("Value of a on entry to update_value() is %lu\n", a);
> 	a = a + 7;

Once you submit to contradictions like "a equals a + 7" being signs
of advanced understanding---though wondering how that could be---
you are well prepared for an introduction to more programming quizzes,
such as why and when `5' may become a name of 4.
  In fact, functionist's favorite REPL is sufficiently lenient,

Prelude> let 5 = 4 in 5
5

> 	printf("Value of a after modification is %lu\n", a);
> 	return;
> 	}



  reply	other threads:[~2014-09-29 21:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-29  0:48 actual for variable name must be variable compiler error Stribor40
2014-09-29  2:50 ` Jeffrey Carter
2014-09-29 10:39 ` Brian Drummond
2014-09-29 19:37   ` Simon Clubley
2014-09-29 21:33     ` Georg Bauhaus [this message]
2014-09-30  0:27       ` Simon Clubley
2014-09-30 12:09         ` Peter Chapin
2014-09-30 13:17         ` Dennis Lee Bieber
2014-09-30 19:48           ` Simon Clubley
2014-09-30 14:47         ` Adam Beneschan
2014-09-29 14:27 ` Denis McMahon
replies disabled

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