Mention what are the two ways to get private values inside a subroutine or block?


There are two ways through which private values can be obtained inside a subroutine or block

  • Local Operator: On global variables only this operator can operate. The value of the private variable is saved on the Local Operator and makes the provision to restore them at the end of the block
  • My Operator: To define or create a new variable this operator can be used. Variable that is created by My Operator will always be declared private to block inside which it is defined.


© 2017