Next: Functions and Arrays Up: Functions Previous: Functions

void functions

The void function provide a way of emulating PASCAL type procedures.

If you do not want to return a value you must use the return type void and miss out the return statement:

NOTE: We must have () even for no parameters unlike some languages.
Fri May 20 13:40:49 BST 1994