Beware the evil DODEFAULT()

Author: Steve Ellenoff

Posted: 2010-08-25 at 01:53:41

Thought I would remind everyone about this (sometimes not so obvious) bug...

FUNCTION SomeFunc( tnVal )

*Call Parent

DODEFAULT()

ENDFUNC

Should be: DODEFAULT(tnVal) .. IF the parent class takes a parameter

( which it may not depending on the parent class ).

This bugger was the cause of several bugs of mine recently.. Shame on me! :)

I get so used to typing DODEFAULT() that I don't stop to realize it

might need parameters passed..

Hope this info helps someone..

-Steve

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/979646.58889.qm@smtp102.sbc.mail.ac4.yahoo.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2010 Steve Ellenoff