Switch to edit mode.
Name(s): opposite_sex1: "Returns a list of all mice in the cage that are of the opposite sex."
2: {mysex} = args
3: mice = {}
4: for x in ($cage.contents)
5: if (x.sex != mysex)
6: mice = {@mice, x}
7: endif
8: endfor
9: return mice
10: "Last modified by Dax (#789) on Sat Aug 8 11:37:36 1998 EDT."