djp1988 Posted February 10, 2008 Share Posted February 10, 2008 What does the Void command do? I usually take it out and have never seen a difference in the end product Link to comment Share on other sites More sharing options...
boen_robot Posted February 10, 2008 Share Posted February 10, 2008 Regardless of the language (I suppose you're talking about ActionScript), "void" is "nothing". That is, when you say a function doesn't accept any parameter, you say "functionName( void )" in it's declaration to show that. Look at how some PHP functions are declared for example."void" is different than "null" in that "null" is a value that means nothing, and "void" means there isn't any value, including a value that means nothing. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.