Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!mcsun!unido!ira.uka.de!rusux1!rusmv1!news From: erwin@suncvt12.verfahrenstechnik.uni-stuttgart.de (Dieterich Erwin) Newsgroups: comp.lang.fortran Subject: Re: Bug with file I/O? Message-ID: <1991Jan25.111043.5666@rusmv1.rus.uni-stuttgart.de> Date: 25 Jan 91 11:10:43 GMT References: Sender: news@rusmv1.rus.uni-stuttgart.de (USENET News System) Distribution: comp Organization: ICVT Lines: 35 I tried to mail the following, but the mail bounced back... In article you write: >I ran the following on our SunOS machine, and guess what the output is? > >------>start of test.f<------ > program deleted >------>end of test.f<------ > >What is the last value of buff(1)? 10? 0? ... NO, 32!! I need the result >to be 10, can anybody tell me what I am doing wrong? For those who followed >the thread "Array Dilemma", this problem is related to implementing BIG. >This time, I am working on some big integers. >-- >Stephen Quan, >University of Tasmania. Well, it worked on my SUN: Hallo> make test f77 -sun4 -o test test.f test.f: MAIN test: Hallo> test 10 I don't know what went wrong on your computer. I have a Sparc 1+ with SunOS 4.1 and FORTRAN v1.3 running. Sorry that I can't help you better. erwin