From: David Arnold Newsgroups: comp.os.msdos.djgpp Subject: Evaluating functions in RHIDE with ctrl+F4 Date: Sun, 20 Dec 1998 15:07:41 -0800 Organization: College of the Redwoods Lines: 43 Message-ID: <367D833D.1AF2D93@northcoast.com> NNTP-Posting-Host: 208.25.113.36 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: 914194908 B/00VXNXN7124D019C usenet78.supernews.com X-Complaints-To: newsabuse AT remarQ DOT com X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, I am very new to C, djgpp, and RHIDE, but I've read a lot of docs and done a lot of experimenting. I've written a project, hello.gpr, that contains one file, hello.c, as follows: #include main() { int count; int myf(); printf("Hello world!\n"); for (count=0;count<11;count++) printf("The function value is %d\n",myf(count)); exit(0); } int myf(int x) { return(2*x); } When I put in a breakpoint at line 9, run with ctrl+F9, open the evaluate and modify box with ctrl+F4, entering myf(3) in the expression edit box causes RHIDE to respond with "not available" when I press the Eval button. Can anyone point out my error and point me in the correct direction? Thanks. Email appreciated. -- David Arnold College of the Redwoods Mathematics Department 7351 Tompkins Hill Road Eureka, CA 95501 (707) 445-6917 http://online.redwoods.cc.ca.us/instruct/darnold/index.htm