Variables & Storage name

A variable is a value that can change, depending on conditions or on information passed to the program. Actually every data passed to the app is stored by variable and the format is always saved as "Key-Value pairs" as below in Abtitu.

key : value

In one hand, we can use ${ KEY } to get the value out and placed to any component in Abtitu. In another hand, we can make use of Storage name to save a value with a key.

Example

If we want to get user text input from "Input" component and display on screen with "Text" component, here is the steps to do so:

  1. Set a Storage name (e.g. inputText) to "Input" component. The "Key-Value pairs" will become the format below:
    inputText : USER INPUT TEXT
    
  2. Set text properties with variable to "Text" component. In this example, we set ${inputText} into text properties and user inputed text will be displayed on screen.

*Please be reminded that variable is case sensitive.

results matching ""

    No results matching ""