go to post Alberto Riva · Dec 16, 2021 Hello. Talking about this example: Class MyClass { Parameter name = "Mario"; Property nameProp As %String; ClassMethod SayHiPy() [Languague = Python] { this.nameProp = "Luigi" print("hi ") // call SayHiCOS() here } ClassMethod SayHiCOS() { s ..nameProp = "Luigi" w "Bye "_..#name } } I'd like to make the python method SayHiPy() equal to SayHiCOS() but: 1) when i call self.nameProp I get an Undefined on "self". 2) how can i get the class Parameter's value? 3) how can i call Objectscript methods in the same class from within the Python one, like calling SayHiCOS from SayHiPy? Thank you Followers:Alberto has no followers yet.Following:Alberto has not followed anybody yet.Global Masters badges:Alberto has no Global Masters badges yet.
Hello.
Talking about this example:
I'd like to make the python method SayHiPy() equal to SayHiCOS() but:
1) when i call self.nameProp I get an Undefined on "self".
2) how can i get the class Parameter's value?
3) how can i call Objectscript methods in the same class from within the Python one, like calling SayHiCOS from SayHiPy?
Thank you