How to Update Variable In Function

Discussion in 'Tally Developer' started by Himanshu-2002, Aug 15, 2020.

    
  1. Himanshu-2002

    Himanshu-2002 Active Member


    How to Update Variable In Function ?

    Example -
    [Function: Example]
    Variable:Example: Number
    00: Set:Example:1
    05: Return

    [Variable:Test]
    Default:##Example

    [System: Variable]
    Example: ##Example

    I want to do it like this but Somehow It is not working So, If anyone Knows What I am doing wrong Please tell me



    Update:

    Problem Solved

    Do It Like This

    [Function: Example]
    Variable:Example: Number
    00: Set:Example:1
    01: Set:Test:1
    05: Return
     
    Last edited: Aug 15, 2020


  2. Vijay Shetye

    Vijay Shetye Member


    [Function: Example]
    Variable:Example: Number
    ;; Add this in the function
    Returns : Number
    00: Set:Example:1
    01: Set:Test:1
    05: Return
     


Share This Page