| procedure ATTPREF() |
| for to do // preferences for textual attributes |
| calculate |
| end for |
| for to do // preferences for numerical |
| attributes |
| calculate |
| end for |
| return ; // two sets: textual attribute |
| preferences, and numerical-attribute preferences |
| end procedure |