Examples Set multiple variables, reduce blocks

by subhikshah subhikshah

Version 1 (March 5, 2026)

Download (8 downloads)

05.03.2026 by Jignesh Modi

If you want to reduce the number of blocks.

Purpose is to assign multiple variables in different ways, few with using less number of blocks.

Comparison of multiple flows here,
Shortest method- 3 blocks
Shorter method - 4 blocks
Simple method - 7 blocks
Label method - 10 blocks

Some are giving same 'results'.
Some directly set Variables versus
Some use choice dialog.

Some use simple dictionary/array method
versus
Some use if and assign conditions
Versus
Some use if and two assign conditions.

Dictionary uses {" " : " "} ,and if conditions can't be used inside.

Comment, which one did you like the most and why.


Blocks used are Destructuring block, Choice dialog, if expression, variable set, Go to Label. Simple codes are used in variable set blocks.

5.0 average rating from 2 reviews

5 stars
2
4 stars
0
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.