Forum Discussion
rraghvani
4 months agoChampion Level 3
- SangeetNenwani4 months agoContributor
Thanks for your suggestions.
I checked it, but it says about using the functions and variables from another script. But nothing about modification.- rraghvani4 months agoChampion Level 3
Arguments are passed by assignment in Python. Although cumbersome, you can workaround this via,
def test1(x): x = x + 1 return x def test2(): x = 1 Log.Message(x) Log.Message(test1(x)) # Workaround
Python documentation will have more information on this.
- SangeetNenwani4 months agoContributor
Yes, as of now, I am using this for non-constants as arguments and using contact as local variable on top of script
Related Content
- 9 years ago
- 4 years ago
Recent Discussions
- 6 hours ago