Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!ncar!boulder!sunybcs!rutgers!bpa!cbmvax!vu-vlsi!psuvax1!psuvm.bitnet!cxt105 From: CXT105@PSUVM.BITNET (Christopher Tate) Newsgroups: comp.sys.mac.programmer Subject: Re: Stupid LightspeedC question Message-ID: <72149CXT105@PSUVM> Date: 17 Feb 89 16:51:00 GMT References: <72138CXT105@PSUVM> Organization: Ghostwheel, Inc. Lines: 19 Sorry, but one minor glitch. The only working code I've come up with so far looks like this: #include void deg_to_rad(angle, x) double *angle; double *x; { *x = (*angle)*PI/180; } I pass it pointers both to a dummy variable holding the desired angle value (in degrees) and to the variable to which I'd like to assign the corrosponding value in radians. ------- Christopher Tate | somewhere i have never travelled, cxt105@psuvm.psu.edu | gladly beyond any experience, ...!psuvax1!psuvm.bitnet!cxt105 | your eyes have their silence.