How I can get the fullname of the GetBaseIndex() symbol?

Hello,
How I can get the fullname() of the GetBaseIndex() symbol ?

Another question is that is there any methods I can quickly go to a sector/industry folder when I know the symbol's sector number.

SetForeign( GetBaseIndex() );
gbname = FullName();
RestorePriceArrays();

GebaseIndex symbol and its data have to exist in data base.

A faster method is recently added GetFnDataForeign http://www.amibroker.com/guide/afl/getfndataforeign.html

fname = GetFnDataForeign( "FullName" , GetBaseIndex() ); 

Thx reply , but I think your command take a little mistake

fname = GetFnDataForeign( "FullName",GetBaseIndex() );