CompuServe Messages

#exec lists

    13-Aug-94 19:53:08
Sb: #exec lists
Fm: jack york 71562,3372
To: all
I am using exec list handling functions to handle three separate lists. As the program stands now, there are three sets of functions that are basically the same; three add-to-list functions, three sort functions, etc. Is there a way to have one function perform the same job for each list. The problem is that each list has a different type of structure attached to it and I cannot figure out how to cast to three different types within the same function. I suppose I could do it with a lot of if statements but that doesn't seem much better than what I am doing now. Any suggestions will be appreciated. Thanks, Jack