advice needed for arduino as diesel injection brain...

cyclegadget:
It is easier for me to write a sketch to show how a return works

Given that the sketch was written to demonstrate the use of return, it's ironic that your sketch ignores the return value.