comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <p.obry@wanadoo.fr>
Subject: Re: Inconsistent result
Date: 24 Mar 2001 09:42:17 +0100
Date: 2001-03-24T08:42:08+00:00	[thread overview]
Message-ID: <u3dc34kye.fsf@wanadoo.fr> (raw)
In-Reply-To: 99haru$6dt$1@dahlia.singnet.com.sg


"Neo" <neohweeh@hotmail.com> writes:

> Hi,
> 
> I always have an inconsistency in my output result when I do looping,
> meaning, when I add 30(integer) to a local variable, it would sometimes add
> other figures(e.g 300) instead of 30 everytime.

This looks very suspicious to me ! Are you sure you have initialized the
local variable ? I don't know a compiler where such an obvious problem exists,
or maybe this is in a very convoluted program... hard to say without
seeing the code !

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|         http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"



  parent reply	other threads:[~2001-03-24  8:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-24 20:58 Inconsistent result Neo
2001-03-24  7:09 ` Corey Ashford
2001-03-24  8:42 ` Pascal Obry [this message]
2001-03-25  1:22 ` Jeff Creem
2001-03-25 20:57 ` Calendar Time & Date images Joachim Schr�er
replies disabled

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