Res: Beware the evil DODEFAULT()

Author: Eurico Chagas Filho

Posted: 2010-08-25 at 07:17:01

Thanks Steve.

________________________________

De: Steve Ellenoff <sellenoff@pinmame.com>

Para: profox@leafe.com

Enviadas: Quarta-feira, 25 de Agosto de 2010 2:53:41

Assunto: Beware the evil DODEFAULT()

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.

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

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/476640.43688.qm@web37004.mail.mud.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 Eurico Chagas Filho