Here is another example of a local variable inside a function that can not be used outside the function.The value area has to be passed to a variable outside the function. I have used a '#' to make the code that does that into a comment and thus we the error that area is not defined.
No comments:
Post a Comment