Call a Global Variable from another Unit in Vb Script
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2018
02:20 AM
06-07-2018
02:20 AM
Call a Global Variable from another Unit in Vb Script
How to call a Global Variable declared in another Unit in VB script.
I used these link for help:
but i could'nt understand ...please help
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2018
05:07 AM
06-07-2018
05:07 AM
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
