Ok this is my problem I created a new function and I try and use the variables in the properties in it but to the function they basically don’t exist. I’m not sure how this is done but how do I make sure newly created functions can access the Properties that I create.
On #1:
I believe your problem is in your debug.log call to the self. It should be self.Properties.myAmno
#2:
Yes, you can pass values to your functions, but it’s not required for this example. Just put the value you wish to pass in the () of the function call.
Then in the function declaration, put the parameter name that you want to use in the function in the ().