|
| 17 Jul 2017 12:07 PM |
So, I know the meaning on what it is, A block of code to be excused again and again, But what do you really wanna use this for?
function FirstFunction() Print("AnytimeAnyWhere") FirstFunction() end |
|
|
| Report Abuse |
|
|
Fangous
|
  |
| Joined: 03 Jul 2010 |
| Total Posts: 4448 |
|
|
| 17 Jul 2017 12:09 PM |
| do u really wanna copy and paste 100+ lines of code every time you need to do said action or do you only want to call one line |
|
|
| Report Abuse |
|
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
| |
|
|
| 17 Jul 2017 12:09 PM |
| Yeah But, Put an example of how I would use this in. a game script for example like making a game |
|
|
| Report Abuse |
|
|
|
| 17 Jul 2017 12:10 PM |
insert parameters, puke out value
less copy/paste |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Jul 2017 12:14 PM |
| It's really the same idea as functions in Algebra |
|
|
| Report Abuse |
|
|