thanks a lot for the hints!


2013/1/27 Mark Miesfeld <>
On Sun, Jan 27, 2013 at 12:28 PM, Mukenx <> wrote:
to add a node at a certain nesting level to a tree, the tree view add() method states that the nesting level corresponds to the number of leading commata.

for a given nesting level n (determined at runtime) for a node to be appended to the tree, is there another way of adding the node than using INTERPRET?

INTERPRET 'tc~add( ' || ","~copies(n) || ', "nodeText")'

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

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

Mark Miesfeld

Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
Oorexx-users mailing list