- 14 Aug 2021
- 1 Minute to read
- Contributors
- Print
- DarkLight
- PDF
Variables Block
- Updated on 14 Aug 2021
- 1 Minute to read
- Contributors
- Print
- DarkLight
- PDF
These blocks are defined to declare and fetch variables.
GetValue:
This block functions as the getvalue element block where the method returns the current value of the form control. In most cases, a string is returned. In the case of multiple select boxes, an array of values is returned.
SetValue:
In this block, the SetValue element adds or updates the value of the current element. The values are set based on their properties from the dropdown options within the block.
Create Object:
In addition to the existing objects, the blocks also facilitate the users to create new objects. Users can create new objects where the variable blocks can be dragged and dropped.
GetObject:
The GetObject block is used for the following purposes.
1. It is used to create a function that takes the object as an input.
2. It uses the operation which checks if the object type is a function or not.
3. It is used to return the object if the object type is a function.
SetObject:
The SetObject block is used to iterate a collection of values through the elements of a set in insertion order. A particular value inside a set will occur only once and it's unique in the Set's collection.