General information
Category:
Coding, syntax & commands
The code in the dodefault() section returns control to the valid method, even if there is a Return 0, and will process the rest of the code in the valid method. Therefore the code in the Dodefault section is ineffective.
My workaround is to initialize a variable prior to calling the DoDefault(). If the DoDefault results in a return 0, the variable is set to .f.. There is code in the valid statement immediately after the DoDefault which returns 0 if the variable is .f.
This works but is there an easier way?
Previous
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