Explicit Enhancements in Custom Programs
- We have discussed Explicit Points and Explicit Sections till the previous parts.
- We have also understand that Explicit Enhancements can be very crucial and can cause damage to a lot of data in our system, if it is not implemented properly.
- So, It is always not advisable to implement Explicit Enhancements for the practice purpose.
Question :-
- Can we implement Explicit Enhancements in Custom Programs ?
Solution :-
- Yes, we can practice Explicit Enhancements in Custom Programs.
- So, lets take a requirement to understand it more clearly.
Requirement :-
-
Suppose, I have written a Calculator Program, which is taking two input from the user and displaying sum of two numbers.
-
Now, Suppose, User wants us to display difference and multiplication of given numbers.
-
So, we will use the explicit enhancements for the same purpose.
Solution :-
-
Step 1 :- We have discussed in the previous parts that SPOTS are the container for explicit points and explicit sections.
-
Step 2 :- Click on edit → enhancement operations → create option.
- A popup screen will appear.
-
Step 3 :- We will see the enhancement SPOT.
-
Step 4 :- Click on Enhancement Point and then click on enhance button.
-
Step 5 :- Right Click on enhancement point → enhancement operations → create implementation.
-
Step 6 :- Give the name of the explicit enhancement.
-
Step 7 :- Now write the logic for the enhancement.
Execute the Code :-
- Press F8.
Comments
Post a Comment