> 4) Should implementation of procedures end with hb_ret(); ?

No. It's a dummy call. Only use it if you want to 
make clear in a function that there is no value 
to return. The only places where this is meaningful, 
is when a function can return both value and non-value 
(which is NIL). In this case it's good to use it, 
otherwise some reviewers might think a hb_ret*() 
function is missing.

It should not be added to functions which never 
return anything (PROCs). It just clutters code.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to