View previous topic :: View next topic
|
Author |
Message |
padma_prakasam
New User
Joined: 06 Oct 2005 Posts: 31
|
|
|
|
Is nested EVALUATE possible?? I mean Evaluate inside an Evaluate?
Thanks,
Padma |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Padma,
Would you please tell me why u require evaluate inside evaluate ? |
|
Back to top |
|
|
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
Yes, it works fine. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
I can easily think of logic requiring nested conditions of any type, EVALUATE included.
I can also think of how easy it is to test this, rather than just asking. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Always remember that 98% of the life of a program is maintenance. My rule of thumb was always never to go beyond 3 levels of "nested". There is no reason to. Over the years, I saw programs that included pages and pages of nested "ifs" - first of all, it is very difficult to debug - we called them "the flying wedge". Second of all, it is not efficient. Do an evaluate (if) and then a perform - go to the exit of a paragraph. |
|
Back to top |
|
|
|