// タブモード切替 (2010/11/20) #curr = getconfig("TabMode"); // 通常モード → TSV モード if (#curr == 0x0000) { config "xTabMode:" + str(0x0001); title "TSV モード", 1; title -1, 1; } // TSV モード → CSV モード else if ((#curr & 0x0f0f) == 0x0001) { config "xTabMode:" + str(0x0101); title "CSV モード", 1; title -1, 1; } // CSV モード → 自由配置モード // else if ((#curr & 0x0f0f) == 0x0101) { // config "xTabMode:" + str(0x0002); // title "自由配置モード", 1; // title -1, 1; // } // 自由配置モード → 通常モード else { config "xTabMode:" + str(0x0000); title "通常モード", 1; title -1, 1; }