Q1: Since Premise is based on VBScript, I am thinking it does not support a go to statement for programming flow. Is this true? It seems you can do stop statements though.
Q2: Are global variables a good idea? Is it better to create a new property in an object and store to it's value?
Q3: Not really a question, but a statement. The extension relationship is really useful instead of global variables.
The situation for I ran into is I have a keypad and I want to store the name of the last button that was pressed. To do this initially, I just made a hidden button and write the name to the description of that hidden button.
However, from a recent post 123 has made, I reworked this method to extend a string property on the keypad class by creating a new class naming the text property "LastButtonPressed." This adds a text property to the keypad under home that I can easily access through code. Neat!
Q2: Are global variables a good idea? Is it better to create a new property in an object and store to it's value?
Q3: Not really a question, but a statement. The extension relationship is really useful instead of global variables.
The situation for I ran into is I have a keypad and I want to store the name of the last button that was pressed. To do this initially, I just made a hidden button and write the name to the description of that hidden button.
However, from a recent post 123 has made, I reworked this method to extend a string property on the keypad class by creating a new class naming the text property "LastButtonPressed." This adds a text property to the keypad under home that I can easily access through code. Neat!