🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #9786

Large Program's Programming Problems (Manx Difficulties)

#9786
From: Flynn D. Fishman
Date: Tue, 13 Sep 1988 19:28
38 lines
1891 bytes
Hi,
I have a problem that has been bugging me lately

I am working on a rather large database application on the Amiga in Manx C.
It has lots of variables and lots of routines, etc. etc.

I find that some of my variables get changed arbitrarily
for example I have a loop that counts from 0 to fieldlength, where
fieldlength is a global generally 12.  What happens is it counts
from 0 to 10 and then from 1 to 10 over and over again for ever.

This problem crops up in different places at different times, and can be
removed by adding or removing a line of code, (but then it sometimes goes
else where).

The problem is not limited to variables either, sometimes it forgets where a
routine is and jumps to the wrong location.  I have noticed this problem on
several programs, including a couple at work.

I have also noticed that SDB has troubles with large programs and sometimes
gurus on random routine calls.

I have also tried the +c and +d compile options to no avail

So what am I doing wrong?
Does anybody know what is going on?
How do I fix it?

I am using Manx 3.60a
Amiga 2000, with 5 meg, a2090 card and 20 meg generic drive
I also work in interlace mode.

Thanks Very Much
-- 
FDFISHMAN (Flynn D. Fishman) @ WATCGL (but you can call me Flynn)
	UUCP  :	...!{decvax|ihnp4|clyde|allegra|utzoo}!watmath!watcgl!fdfishman
	ARPA  : fdfishman%watcgl%waterloo.csnet@csnet-relay.arpa2
	CSNET :	fdfishman%watcgl@waterloo.csnet
Technical Details
Message-ID: <5816@watcgl.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tank!uxc!uwmcsd1!ig!agate!ucbvax!pasteur!ames!pacbell!att!chinet!mcdchg!clyde!watmath!watcgl!fdfishman

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!tank!uxc!uwmcsd1!ig!agate!ucbvax!pasteur!ames!pacbell!att!chinet!mcdchg!clyde!watmath!watcgl!fdfishman
From: fdfishman@watcgl.waterloo.edu (Flynn D. Fishman)
Newsgroups: comp.sys.amiga.tech
Subject: Large Program's Programming Problems (Manx Difficulties)
Message-ID: <5816@watcgl.waterloo.edu>
Date: 13 Sep 88 19:28:37 GMT
Distribution: comp
Organization: U of Waterloo, Ontario
Lines: 38