erm...like this?
player(1)\lives = reset_life()
.
.
.
function reset_life%()
Return 0
end function
or like this:
reset_lives(player(1))
.
.
.
Function reset_lives(player.playertype)
player\lives = 0
End function
Maybe I'm not understanding exactly what you are trying to do?
but per your example, this wouldn't work either:
A% = 1
Print A
increase_variable(A)
Print A
Function increase_variable(param)
param = param + 1
End function
player(1)\lives = reset_life()
.
.
.
function reset_life%()
Return 0
end function
or like this:
reset_lives(player(1))
.
.
.
Function reset_lives(player.playertype)
player\lives = 0
End function
Maybe I'm not understanding exactly what you are trying to do?
but per your example, this wouldn't work either:
A% = 1
Print A
increase_variable(A)
Print A
Function increase_variable(param)
param = param + 1
End function