Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!rutgers!cbmvax!trac2000!das From: das@trac2000.ueci.com (David Snyder) Newsgroups: comp.databases Subject: Re: A little (:-)) bug in INFORMIX (2.10.03K) Keywords: OUCH decimal string conversion Message-ID: <1020@trac2000.ueci.com> Date: 11 May 91 03:15:41 GMT References: <1991May9.024936.15884@fivegl.co.nz-> Organization: UE&C - Catalytic in Philadelphia, PA Lines: 27 In article <1991May9.024936.15884@fivegl.co.nz->, struan@fivegl.co.nz (Struan Judd) writes: -> In the following program (shortened but complete 4gl) the stack -> gets totally mucked up at the point shown : -> -> -> database -> -> main -> define L_num integer, L_dec decimal, L_str char(1000) -> -> for L_num = 1 to 1000 -> let L_dec = L_num / 3.141 -> let L_str = L_dec { Things go haywire here } -> message L_str, L_num -> end for -> end main -> Well guess what... you're right! I'm running 2.10.03F and this gem dumps a core on me every time (unless I use a "USING"). Interestingly enough, Informix-RDS runs this correctly whether I use the USING or not... go figure :-) DAS -- David A. Snyder @ UE&C - Catalytic in Philadelphia, PA UUCP: ..!uunet!trac2000!das INTERNET: das@trac2000.ueci.com