In reply to kranthi445:
This is a wording
in the current LRM. In Verilog, all functions had to be used in expressions and always returned a value. Any routine called as a statement with no return value was categorized as a task. SystemVerilog added the concept void functions, and should have updated the terminology to system tasks.