This function will set the current symbol table to the table named in
the argument string. If the tabname is null or empty, the
default ``main'' table is understood. If a table by the given
name does not exist, a new table will be created for that name.
The return value is a string giving the name of the active table
before the switch.