I'm trying to delete table properties in a loop but nothing happens. There's no error message in the log window, so I'm not sure why i can't delete table variables in a loop.
If I use a literal string I'm able to delete the variable, but I would like to delete a list of variables by pattern matching.
dt = New Table("test");
dt << New Table Variable("a", 1);
dt << New Table Variable("b", 1);
dt << New Table Variable("c", 1);
names = dt << Get Table Variable Names;
for(i = N Items(names), i > 0, i--,
variable = names;
// Fails
dt << Delete Table Variable(variable);
);
// Ok
dt << Delete Table Variable("a")