Forum Discussion
rraghvani
5 months agoChampion Level 3
- SangeetNenwani5 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.- rraghvani5 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.
- SangeetNenwani5 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
Recent Discussions
- 3 days ago
- 3 days ago
- 6 days ago