Forum Discussion
rraghvani
2 years agoChampion Level 3
Ah ok.
Since you're using a project variable, you can just do this
Project.Variables.Var1 = "Hello World"
def update():
Log.Message(Project.Variables.Var1)
Project.Variables.Var1 = "Goodbye World"
def main():
update()
Log.Message(Project.Variables.Var1)
If you run main() the following result is shown
See https://stackoverflow.com/questions/986006/how-do-i-pass-a-variable-by-reference for more information.
Related Content
- 5 years ago
Recent Discussions
- 19 hours ago
- 19 hours ago
- 5 days ago