Universal Robots+

Are variable assignments atomic?

Hi all,

Just that simple question: if I assign a value to a variable (integer, boolean, float), is that operation atomic?
foo = 10
bar = True
I know that in Python they are, so I’d assume the same for URScripts. Is that correct?

I am facing the same issue I created a variable but I didn’t assign a type for it because this option is not exist in the program and when I said this variable = true I got an error saying the variable type is INT I don’t know from where or who assigned this type but my question is how can I declare variable with a specific data type ?

Thanks In Advance