How Do you increment a local variable

You can increment it within the function that it is local to. However, In order for that value to carry over beyond the first run of the function, you you will have to feed the end value to a global variable. One way to do this is to have a Float or Int variable that holds the value. Feed that variable as an input to the function you are trying to use increment as needed then pass the resulting value back to the global variable. Hope that helps.