For that specific line, I believe this will work the same:

  arguments = .array~new(n + 1)
  arguments[n + 1] = "nodeText"
  tc~sendWith('add', arguments)


Neat!

Staffan