GFreak45
I didnt slap you, i high 5'd your face.
- Reaction score
- 130
thanks everyone for helpin out, if i have not +repped you yet, it is coming, i just maxxed out rep given out in 24 hrs
so here is what i got:
when the code is compiled it essentially adds all the functions to the maps code, essentially 1 long list of code, but it adds them in a random order, using libraries puts functions at the top of the code and in order for a function to be called by another it needs the other to be above it in the code, thats why libraries are used, scopes are used to make functions private so they cant be called by other functions and to organize it all together better (ie the scope is multiple functions that are added to the code in a grouping rather than in random places)
so here is what i got:
when the code is compiled it essentially adds all the functions to the maps code, essentially 1 long list of code, but it adds them in a random order, using libraries puts functions at the top of the code and in order for a function to be called by another it needs the other to be above it in the code, thats why libraries are used, scopes are used to make functions private so they cant be called by other functions and to organize it all together better (ie the scope is multiple functions that are added to the code in a grouping rather than in random places)