The type of the expression must be an array type but it resolved to int

void tisknuti() {
  poziceXStr = str(poziceX);
}