table.surePath

Syntax table.surePath (path)

Params path is a dot-delimited string indicating the full name of an item in a table that might not exist.

Action Creates as many new tables as necessary to make the string a valid object database address.

Returns The number of new tables it created.

Examples table.surePath ("junk.subtable.testitem")

   » 2 // two tables, "junk" and "subtable", were created

table.surePath ("user.accounts.CIS"); user.accounts.CIS = "76244,120"

   » 76244,120 // a new table, user.accounts, was created

Notes the path string must include all parent tables of the item other than the root table.

This verb is implemented as a script.

Discuss