i have a function called moveArr

function = moveArr(){

i was just wondering you know the space in the function between the brackets how do i use that. Is it to declair varibles that are used in the function. And once i have declaired them how do i access them.

Is it anything like

Code:
function = moveArr(dir){
if(dir == right){
//do things 
}
}
on a button

Code:
on(release) {
moveArr(right);
}
just trying to work out how it works

ThankS in AdvancE
[h]ooligan