Void functions might not return a value.

This commit is contained in:
Stefano Sanfilippo 2014-12-01 00:33:57 +01:00
parent 10034f38df
commit d031031e4e

View File

@ -316,12 +316,12 @@ and `Necchi`. It maps to:
Finally, this: Finally, this:
blinda la supercazzola antanizzata o scherziamo? blinda la supercazzola antanizzata o scherziamo?
vaffanzum alfio meno 2! vaffanzum!
is a `void` function taking no arguments and becomes: is a `void` function taking no arguments and becomes:
void antanizzata() { void antanizzata() {
return alfio - 2; return;
} }
Functions cannot be nested and can be declared before or after the main in any Functions cannot be nested and can be declared before or after the main in any