I did have the function appearing at first but could not proceed due to a link error so I inserted the 'static' and it worked. I was trying to alter the return value when all reference to the function disappeared and now the program will not compile while the function is there. If I comment it out it will compile. I am at a loss as to why a function cannot be active. I have defined it under processes.
The color of the function indicates it is inactive and it does not appear in the drop down list. Also I get a stupid error claiming every line of the program is a syntax error.
Regards, Bazza