How to check integer value is in between range in uiapth

activities
studio

#1

Hi,

I want to check one integer value is in between range,
like: a=5 and range is “2-10”.

any solution for these??


#2

Hi @sams,
use if condition to check between the range

a >= 2 && a <= 10

Regards,
Arivu


#3

@sams,range


#4

Thanks @arivu96,

i want to append value in array like:
arrayNew={“100”,“500”}
a= 2000

i want to append array value of “a” in “arrayNew” ={“100”,“500”,“2000”}

Is there any solution for this???


#5

Hi @sams,

If u want to add dynamically use collection variable list

Refer this one
https://www.uipath.com/kb-articles/how-to-work-with-a-dynamic-array?hs_amp=true

Regards,
Arivu


#6

I want to only append value in array.

is there any solution for this?


#7

Hi @sams,

Array is fixed length so try to use collection variable (list).

Else if u know the array length

Arr(arraylength)='YourValue'

Regards,
Arivu


#8

then how can I use list for same thing(append value)???


#9

Refer this link
https://www.uipath.com/kb-articles/how-to-work-with-a-dynamic-array?hs_amp=true