Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ER: functions in methods
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00569195
Message ID:
00569430
Views:
22
Hi!

Why not make K and L as private (hidden) when they are not used anywhere else? Users will not see them in interface in such case when using class somewhere.

>I would like to once again vent my frustration with the message: "Methods and events cannot contain nested procedures or class definitions."
>
>I can understand that the format that methods are stored in the vcx might make it difficult, but I am sure it can be overcome. Might have to start enforcing the use of ENDFUNC.
>
>Yes, I can work around it by adding yet another method, but I think things could be better organized if we had the ability to have a function in a method.
>
>For instance: I have a class with 10 methods A-J. Method A needs to call K() and L(). So I add 2 more methods. Now I have 12 (A-L), and there is no clear indication that A, K and L are related, and K and L are not used by anything else. I can help the situation by naming them Ak() and Al(), but that is goofy.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform