function qWrap(Quick,low,high)
if quick>high then quick=low
if quick<low then quick=high
return quick
end function
works for me. if your using whole numbers
if quick>high then quick=low
if quick<low then quick=high
return quick
end function
works for me. if your using whole numbers