Unfortunately, i'll be too busy with work and school until Tuesday evening.
If you want psuedo-code, the way i'd probably tackle it is:
1. Select polylines
2. Determine if direction is clockwise.
3. Create Point Lists using trace function, if polyline direction is counter clockwise, reverse point list.
4. Create Intersection Point List
5. Cycle between polyline point lists to gather traced points from intersection to intersection -
--building a point list for the area command. (Order for cycling would be determined by position of polylines)
6. Pass final point list to area command transparently.
I can help you get started Tuesday, after class, if you're still working on it.