Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:programmingblocks:variables [2018/05/04 14:19] – kniwwelino | en:programmingblocks:variables [2018/05/04 15:17] (current) – [Example] kniwwelino | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Variables ===== | ||
+ | |||
+ | ==== Blocks ==== | ||
+ | |||
+ | === Get variable === | ||
+ | {{: | ||
+ | |||
+ | Returns the value which is currently stored in the variable of the selected name. | ||
+ | |||
+ | Options: The dropdown list shows you all the variables which were defined by the block '' | ||
+ | |||
+ | \\ | ||
+ | === Set variable === | ||
+ | {{: | ||
+ | |||
+ | Assigns a value to a variable. In case a value was already assigned to this variable, this value will be overwritten. | ||
+ | |||
+ | Options: | ||
+ | * You can select one of the names available in the dropdown (e.g. '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | \\ | ||
+ | === Set variable to a specific type === | ||
+ | {{: | ||
+ | |||
+ | Converts a value to specific type and stores the result in a variable. | ||
+ | |||
+ | \\ | ||
+ | === Convert value to a specific type === | ||
+ | {{: | ||
+ | |||
+ | Converts a given value (or variable) to a specific data type. | ||
+ | |||
+ | Options: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | ==== Example ==== | ||
+ | |||
+ | This example shows a simple use of the variable. The text '' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | You can find another example of how to use the variable in the sample project [[en: | ||
+ | |||
+ | |||