Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where To Begin?
Sikktwizted Offline
Junior Member

Posts: 5
Threads: 1
Joined: May 2012
Reputation: 0
#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


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



Users browsing this thread: 1 Guest(s)