Subject:
|
Re: IC trouble - function definition - understand now, Thanks
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Sat, 13 Nov 1999 18:21:48 GMT
|
Original-From:
|
John Bachman <bachman@*NoMoreSpam*anatek.mv.com>
|
Viewed:
|
1051 times
|
| |
| |
Rich got it. Nested functions was the problem. I don't recall seeing that discussed in the IC manual and I think it is OK in C.
Nonetheless, thanks to all for helping this hapless programmer.
John
>
> You have the definition of phony() nested inside the definition
> of start(). I don't know what ANSI C and/or C++ let you do, but this is
> invalid IC.
> *Rich*
> --
> Richard F. Drushel, Ph.D. | "Aplysia californica" is your taxonomic
> Department of Biology, Slug Division | nomenclature. / A slug, by any other
> Case Western Reserve University | name, is still a slug by nature.
> Cleveland, Ohio 44106-7080 U.S.A. | -- apologies to Data, "Ode to Spot"
|
|
Message is in Reply To:
| | Re: IC trouble - function definition
|
| Thanks for all the helpful device but the darned thing still does not work. I have created a simplified program to try to figure out what I am doing wrong. Here it is: /* A simplified program to figure out what is wrong */ long time; void start() { (...) (25 years ago, 13-Nov-99, to lugnet.robotics.handyboard)
|
7 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|