getf SCI/util/testexamples.sci reinit_for_test() %U=mopen('SCI/tests/automatic_tests/TCL_ExistVar_data.ref','rb'); %ans = TCL_SetVar('Scilab', 'OK'); if load_ref('%ans') then bugmes();quit;end, %ans = TCL_GetVar('Scilab'); if load_ref('%ans') then bugmes();quit;end, %ans = TCL_UnsetVar('Scilab'); if load_ref('%ans') then bugmes();quit;end, %ans = TCL_ExistVar('Scilab'); if load_ref('%ans') then bugmes();quit;end, %ans = TCL_SetVar('aa', 1); if load_ref('%ans') then bugmes();quit;end, TCL_CreateSlave('SlaveInterp'); %ans = TCL_SetVar('aa', 2, 'SlaveInterp'); if load_ref('%ans') then bugmes();quit;end, %ans = TCL_ExistVar('aa'); if load_ref('%ans') then bugmes();quit;end, %ans = TCL_GetVar('aa'); if load_ref('%ans') then bugmes();quit;end, %ans = TCL_UnsetVar('aa'); if load_ref('%ans') then bugmes();quit;end, %ans = TCL_GetVar('aa', 'SlaveInterp'); if load_ref('%ans') then bugmes();quit;end, %ans = TCL_UnsetVar('aa', 'SlaveInterp'); if load_ref('%ans') then bugmes();quit;end, %ans = TCL_ExistVar('aa', 'SlaveInterp'); if load_ref('%ans') then bugmes();quit;end, %ans = TCL_DeleteInterp('SlaveInterp'); if load_ref('%ans') then bugmes();quit;end, xdel_run(winsid()); mclose(%U);