Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending a parameter whether it likes it or not
Message
From
23/08/2001 16:48:01
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00547561
Message ID:
00548315
Views:
19
I just read about this in Design Patters: This is a pattern called Adapter (Also known as: Wrapper): Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces.

So I don't think that this is needs to be messy if you are careful with the implementation.

Just a thought.

Christian.

>Now there's a good idea. It's a little messy, but this class is really messy anyway. :) I'll give that a try.
>
>Thanks,
>
>Michelle
>
>
>>I guess another option would be to create a wrapper method with a different name that accepts the parameter then calls the original code.
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform