How to assign multiple variables


#1

In Python I can do an assign like this:

a,b,c = (1,2,3)

which will result in

a=1
B=2
C=3

Is there an option similar to this in UiPath/VB? I want to use one assign to keep my workflows clean(er). A quick googling didn’t make me any wiser.
I could invoke code and do

Dim a As Single = 1, b As Single = 2, x As Double = 5.5, y As Double = 7.5

but that’d end up being even slower.


#2

#3

Locking since it’s a duplicate.
If you feel it should be reopened and not continued in the linked thread, DM me.