Hi, list!

Let's asume we have this function;

//----
fun void greeting()
{
<<<"hey, ChucKer!">>>;
}
//-----
clearly we would call it like this;

greeting();

and all would be well. However, if we asume we would be a fairly chaotic sort of person who would make a large amount of typos, especially at 4 in the morning while trusting the parser will catch them for him faster then proofreading will (this is purely hypothetical).

In this case it could theoretically happen that one would by accident type;

greeting;

This compiles just fine and nothing is wrong except for ChucK not running the function.

The question now is; should ChucK complain about such function calls? Is there some unforseen practical use in calling no-parameter functions without empty brackets?

Yours,
Kas.