All pastes #14033 Raw Edit

Unnamed

public text v1 · immutable
#14033 ·published 2005-06-12 10:39 UTC
rendered paste body
/*
Function to add increments of one to local variables.
*/
void IncrementLocalInt(object oTarget, string sVariable)
{
    SetLocalInt(oTarget, sVariable, GetLocalInt(oTarget, sVariable)+1);
}
/*
Function to decrease variable by one.
*/
void DecreaseLocalInt(object oTarget,string sVariable)
{
    SetLocalInt(oTarget,sVariable,GetLocalInt(oTarget,sVariable)-1);
}