[Solved] convert int to str opensesame inline script
I am quite new to opensesame and programming and now i am stuck in a problem with converting an integer to a string in an inline script in Opensesame.
This is my code so far:
var.stritem = str(var.item)
var.itemcode = var.stritem + var.gsk_it
Now i tried two different versions of converting this int, but none has worked. Since I want to generate a new variable that includes the Itemcode, i need to concatenate those two variables.
I hope you can help me, maybe this is a very obvious mistake. 😅