General information
Category:
Coding, syntax & commands
Title:
What, really, is NODEFAULT?
Was coding this morning when I got this thought, so I thought I would ask here.
Is "NODEFAULT" actually a command/clause or is it just a comment??
Here's why I ask:
NODEFAULT is said to be used to prevent the execution of default event/method code.
BUT, according to the documentation (at least the way I read it), *ANY* code in a method/event supercedes the (same) method/event code of the Class. In other words, sub-class method/event code runs INSTEAD OF base clas method/event code for that event/method.
Now, the simple act of including "NODEFAULT" is also the act of including "code" in a method/event, so that in itself would preclude running of the "default" method/event code. In other words, if I simply coded "RETURN" I would get the same result.
What am I missing here???
Jim N.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only