Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!mtxinu!unisoft!hoptoad!peora!rtmvax!bilver!alj From: alj@bilver.UUCP (arthur johnson) Newsgroups: comp.sys.amiga Subject: Lattice 5.02 bugs? Message-ID: <493@bilver.UUCP> Date: 6 Apr 89 05:24:52 GMT Reply-To: alj@bilver.UUCP (arthur johnson) Organization: W. J. Vermillion, Winter Park, FL Lines: 22 Has anyone else experienced the following problems with Lattice 5.02?: 1) You pass a pointer (&variable) to a subroutine, change the variable within the subroutine (*variable = ???), and then leave. Upon return from your subroutine, the variable contains crap (variable = 2600000 or so). Within the subroutine, the value is correct up to actually exiting the routine. 2) You do a typical scanf (scanf("%d", &feh)). No matter what you type, feh contains 0. 3) Occasional crashes due to printf (or similarly) trying to write to location $9 for some reason. I have a sizeable (600+ lines) image-processing program which evidences these problems. I will upload it if anyone wants to look at the actual code. These bugs (?) are causing me much frustration (all my college programs are written in C). I'd like to hear from anyone else experiencing this torture. -- Arthur Johnson Jr. -=> {uiucuxc, hoptoad, petsd}!peora!rtmvax!bilver!alj -=-=-=-=-=-=-=-=- -=> alj@bilver.UUCP -=> PLink: DUNG -=> GEnie: A.JOHNSONJR