I have defined a function in the Function editor, saved it, then tried to compile, and I get a compile error:
FUNC void FooBar (void) { printf("foobar"); } ^ *** error 10, line 3: Syntax error *** Function creation aborted due to syntax errors
FUNC void FooBar (void) { printf("foobar"); }
"Debug Function Code in the uVision IDE, which technically is 'C'" No, it is not. It is something like 'C', but it certainly is not 'C'. See the uVision Getting Started guide for a full list of the differences between Debug Functions and "real" 'C'
Thanks for enlightening the issue. That cleared it up.