Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where To Begin?
Author Message
Sikktwizted Offline
Junior Member

Posts: 5
Joined: May 2012
Reputation: 0
Post: #8
RE: Where To Begin?
(05-07-2012 07:03 AM)Cranky Old Man Wrote:  
(05-07-2012 06:55 AM)Sikktwizted Wrote:  Ok so I am a bit curious. Are the void parts of the script basically category separators for different stuff?
Void is something called a "data type specifier".
Functions are not just things that you pass parameters into. They can also create parameters themselves - so called "return values", using for example "return (value);", but while the value can vary, you have to specify what data type it will be, in the beginning of the function declaration. "Void" is the exception. "Void" means that the function won't return any parameter values at all.

Edit:
There needs to be a new expression for when somebody gets ninjad, but provides a much better reply, rendering the first replies obsolete. You've both been "samuraied". Tongue
So would I be correct in saying that it is similar to an empty command then?
05-07-2012 07:09 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Where To Begin? - Sikktwizted - 05-07-2012, 04:17 AM
RE: Where To Begin? - Cranky Old Man - 05-07-2012, 05:07 AM
RE: Where To Begin? - Sikktwizted - 05-07-2012, 05:25 AM
RE: Where To Begin? - Sikktwizted - 05-07-2012, 06:55 AM
RE: Where To Begin? - Cranky Old Man - 05-07-2012, 07:03 AM
RE: Where To Begin? - Sikktwizted - 05-07-2012 07:09 AM
RE: Where To Begin? - Cranky Old Man - 05-07-2012, 07:13 AM
RE: Where To Begin? - SilentStriker - 05-07-2012, 07:00 AM
RE: Where To Begin? - Your Computer - 05-07-2012, 07:03 AM



User(s) browsing this thread: 1 Guest(s)