TDL Bytes #23 : Accessing Variable Value at different scopes

Discussion in 'Tally & TDL Learning HUB' started by admin, Apr 1, 2016.

    
  1. admin

    admin Administrator Staff Member


    [​IMG]

    Accessing Variable Value at different scopes

    [​IMG]

    TDLByte #23

    [​IMG]

    Dear Developers,

    In TDLByte #22, we learnt about the usage of the action EXCHANGE in Variable Framework. This TDLByte discusses how to access variable value at different scopes.

    What is it?

    The value of the same variable name at 3 different scopes can be accessed using different access specifiers.

    [​IMG]

    How it is accessed?

    The values of the variable ScopeSpec at 3 different scopes can be accessed as given below in the report ScopeRep.

    [​IMG]

    Food for thought

    What if the function is called from the report, and the variable value at report scope needs to be accessed in the function? Think!

    Stay tuned!
     


Share This Page