Article View: comp.sys.amiga.tech
Article #3933MANX 5.0 Bugs
From: Corey Gehman
Date: Sat, 09 Jun 1990 21:12
Date: Sat, 09 Jun 1990 21:12
24 lines
1222 bytes
1222 bytes
I've found another bug in Manx 5.0 but I'm not sure if it's known or not.
The following loop seems to add stuff to element 0 and nothing to the
rest. It's an int array and everything has been initilized before.
for (i=1;i<=MAX_MONS_LEVEL; i++)
m_level[i] += m_level[i-1];
It's the "+=" that's doing it because the following works right:
for (i=1;i<=MAX_MONS_LEVEL; i++)
m_level[i] = m_level[i] + m_level[i-1];
But "+=" works elsewhere just fine, so it's some weird connection between the
loop, array, and/or the "+=".
But the real reason for this posting is to find out if Manx has a bug fix
out yet. I haven't been following 5.0 reports here very closely so I
apologize if this has been gone over a thousand times before.
Thanks,
Corey Gehman
cg377170@eng.clemson.edu
Technical Details
Message-ID:
<9281@hubcap.clemson.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!emory!hubcap!cygnus!cg377170Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!emory!hubcap!cygnus!cg377170 From: cg377170@cygnus.uucp (Corey Gehman) Newsgroups: comp.sys.amiga.tech Subject: MANX 5.0 Bugs Keywords: BUGS Message-ID: <9281@hubcap.clemson.edu> Date: 9 Jun 90 21:12:43 GMT Sender: news@hubcap.clemson.edu Reply-To: cg377170@eng.clemson.edu (Corey Gehman) Organization: Clemson University Engineering Department Lines: 24