View Single Post
Old 08-18-2002, 10:41 PM   #5 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
no, it's not worthelss.. just use void when you have functions that aren't going to return anything.

for example, a setName() function just takes a variable to set the name of an object, but doesn't really need to return anything.
sde is offline   Reply With Quote