There is an option for remember objects. just select yes remember or no dont remember.
I really dont understand what you are talking about in the second question.
When you are calling Function.setstartvalue(1000,1000,300,1)
you are passing it for paramaters. so in your function you would have
on function setStartValue
-set myvar to function.param(1) // this will set my var to 1000 2 would also and 3 would set it to 300.
you could also pass it variables by doing function.MyFunction( myObject('myVar'))