Why would I get the error local function definitions are illegal?
I set up a prototype then define the function at the end of the program. It is a win32 prog.
Why would I get the error local function definitions are illegal?
I set up a prototype then define the function at the end of the program. It is a win32 prog.
You might be forgetting an end bracket somewhere. Why don't you post some code and we can have a look?
"...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers
Yes it was a bracket, hard to spot but I found the little bug.