getf SCI/util/testexamples.sci reinit_for_test() %U=mopen('SCI/tests/automatic_tests/strindex_data.ref','rb'); k = strindex('SCI/demos/scicos', '/'); if load_ref('k') then bugmes();quit;end, k = strindex('SCI/demos/scicos', 'SCI/'); if load_ref('k') then bugmes();quit;end, k = strindex('SCI/demos/scicos', '!'); if load_ref('k') then bugmes();quit;end, k = strindex('aaaaa', 'aa'); if load_ref('k') then bugmes();quit;end, k = strindex('SCI/demos/scicos', ['SCI','sci']); if load_ref('k') then bugmes();quit;end, [k,w] = strindex('1+3*abc/2.33', ['+','-','*','/']); if load_ref('w') then bugmes();quit;end, if load_ref('k') then bugmes();quit;end, xdel_run(winsid()); mclose(%U);