Forum Discussion

1 Reply

  • baxatob's avatar
    baxatob
    Community Hero

    Say, you have Unit1 and Unit2

     

    Let declare a variable A in Unit1:

     

    [Unit1]
    
    A = 1

     

    Now to call A from Unit2:

     

    [Unit2]
    
    'USEUNIT Unit1
    
    Function Test()
      Log.Message(Unit1.A)
    End Function