Advertisement
Guest User

Untitled

a guest
Oct 6th, 2015
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. FUNCTION inRange RETURN INT[LIST] returnList (INT lower, INT upper, INT[LIST] list)
  2. FOR every value in the list using index i
  3. IF list[i] >= lower AND list[i] <= upper
  4. returnList.Add list[i]
  5. END IF
  6. NEXT
  7.  
  8. RETURN returnList
  9. END FUNCTION
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement