Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!rutgers!cmcl2!uupsi!amy!tholland From: tholland@amy.skidmore.edu Newsgroups: comp.sys.next Subject: float c=[sliderA floatValue] won't compile-why? Message-ID: <1163.2862231f@amy.skidmore.edu> Date: 21 Jun 91 20:02:39 GMT Lines: 23 Given a slider called "sliderA", I am tring to query it as to its current float value. Here's my code: float c; c = [sliderA floatValue]; This seems to work fine for one program, but for another it won't compile and I get the following error: "warning: cannot find method warning: return type for 'floatValue" defaults to id warning: incompatible types in assignment" What's going wrong here ?? Suggestions ? Thanks Anthony Holland Skidmore College Saratoga Springs, NY next mail: tholland@pars.skidmore.edu