summaryrefslogtreecommitdiffstats
path: root/scilab
diff options
context:
space:
mode:
authorCedric Delamarre <cedric.delamarre@scilab-enterprises.com>2016-12-02 11:45:34 +0100
committerClément DAVID <clement.david@scilab-enterprises.com>2016-12-08 17:47:30 +0100
commit61935feefb74989f171f75892e7d6f5c70002993 (patch)
tree4c67f24a495336035c93f751f0dc62fa3243aa3b /scilab
parentfcb2bbd86dc8bb59308ec20c537d6e5ea9366448 (diff)
downloadscilab-61935feefb74989f171f75892e7d6f5c70002993.zip
scilab-61935feefb74989f171f75892e7d6f5c70002993.tar.gz
[core] NOT FIXED 6.0.0
Change-Id: Id6d1fa88676e30cbe2620c9498b536549646ad51
Diffstat (limited to 'scilab')
-rw-r--r--scilab/modules/core/tests/nonreg_tests/bug_14337.tst1
-rw-r--r--scilab/modules/core/tests/nonreg_tests/bug_2284.tst10
-rw-r--r--scilab/modules/core/tests/nonreg_tests/bug_3490.tst83
-rw-r--r--scilab/modules/core/tests/nonreg_tests/bug_6726.tst7
-rw-r--r--scilab/modules/core/tests/nonreg_tests/bug_7453.tst7
-rw-r--r--scilab/modules/core/tests/nonreg_tests/bug_7974.tst29
-rw-r--r--scilab/modules/core/tests/nonreg_tests/bug_883.tst152
-rw-r--r--scilab/modules/core/tests/unit_tests/comand.tst27
8 files changed, 161 insertions, 155 deletions
diff --git a/scilab/modules/core/tests/nonreg_tests/bug_14337.tst b/scilab/modules/core/tests/nonreg_tests/bug_14337.tst
index c80bd4d..6460bd9 100644
--- a/scilab/modules/core/tests/nonreg_tests/bug_14337.tst
+++ b/scilab/modules/core/tests/nonreg_tests/bug_14337.tst
@@ -8,6 +8,7 @@
8// <-- Non-regression test for bug 14337 --> 8// <-- Non-regression test for bug 14337 -->
9// 9//
10// <-- CLI SHELL MODE --> 10// <-- CLI SHELL MODE -->
11// <-- NOT FIXED --> 6.0.0
11// 12//
12// <-- Bugzilla URL --> 13// <-- Bugzilla URL -->
13// http://bugzilla.scilab.org/14337 14// http://bugzilla.scilab.org/14337
diff --git a/scilab/modules/core/tests/nonreg_tests/bug_2284.tst b/scilab/modules/core/tests/nonreg_tests/bug_2284.tst
index c9e36cc..d400849 100644
--- a/scilab/modules/core/tests/nonreg_tests/bug_2284.tst
+++ b/scilab/modules/core/tests/nonreg_tests/bug_2284.tst
@@ -4,7 +4,7 @@
4// 4//
5// This file is distributed under the same license as the Scilab package. 5// This file is distributed under the same license as the Scilab package.
6// ============================================================================= 6// =============================================================================
7 7// <-- NOT FIXED --> 6.0.0
8// <-- Non-regression test for bug 2284 --> 8// <-- Non-regression test for bug 2284 -->
9// 9//
10// <-- Bugzilla URL --> 10// <-- Bugzilla URL -->
@@ -17,14 +17,14 @@
17// -->20 * exp(%i * 2 * %pi / 3) 17// -->20 * exp(%i * 2 * %pi / 3)
18// ans = 18// ans =
19// 19//
20// -11. + 17.320508i 20// -11. + 17.320508i
21// 21//
22// This is the wrong result!! 22// This is the wrong result!!
23 23
24s1 = -9.999999999; 24s1 = -9.999999999;
25s2 = 0.999999999999; 25s2 = 0.999999999999;
26 26
27print(TMPDIR+'/bug2284',s1,s2); 27print(TMPDIR+"/bug2284",s1,s2);
28txt = mgetl(TMPDIR+'/bug2284'); 28txt = mgetl(TMPDIR+"/bug2284");
29if or(txt <> [" s2 =";" ";" 1. ";" s1 =";" ";" -10. "]) then pause,end 29if or(txt <> [" s2 =";" ";" 1. ";" s1 =";" ";" -10. "]) then pause,end
30mdelete(TMPDIR+'/bug2284'); 30mdelete(TMPDIR+"/bug2284");
diff --git a/scilab/modules/core/tests/nonreg_tests/bug_3490.tst b/scilab/modules/core/tests/nonreg_tests/bug_3490.tst
index 7846b12..b50d3c6 100644
--- a/scilab/modules/core/tests/nonreg_tests/bug_3490.tst
+++ b/scilab/modules/core/tests/nonreg_tests/bug_3490.tst
@@ -8,6 +8,7 @@
8// <-- Non-regression test for bug 3490 --> 8// <-- Non-regression test for bug 3490 -->
9// 9//
10// <-- CLI SHELL MODE --> 10// <-- CLI SHELL MODE -->
11// <-- NOT FIXED --> 6.0.0
11// <-- Bugzilla URL --> 12// <-- Bugzilla URL -->
12// http://bugzilla.scilab.org/show_bug.cgi?id=3490 13// http://bugzilla.scilab.org/show_bug.cgi?id=3490
13// 14//
@@ -19,7 +20,7 @@ mputl("[a,b] = resume(1,2);b=3",TMPDIR+"/foo.sce");
19exec(TMPDIR+"/foo.sce",-1) 20exec(TMPDIR+"/foo.sce",-1)
20if a<>1|b<>2 then pause,end 21if a<>1|b<>2 then pause,end
21 22
22clear a b 23clear a b
23mputl("for k=1:2,if k==1 then [a,b] = resume(1,2);end;end,b=3",TMPDIR+"/foo.sce"); 24mputl("for k=1:2,if k==1 then [a,b] = resume(1,2);end;end,b=3",TMPDIR+"/foo.sce");
24exec(TMPDIR+"/foo.sce",-1) 25exec(TMPDIR+"/foo.sce",-1)
25if a<>1|b<>2 then pause,end 26if a<>1|b<>2 then pause,end
@@ -41,29 +42,29 @@ execstr("execstr(""[a,b] = resume(1.1,2.2);b=3"")")
41if a<>1.1|b<>2.2 then pause,end 42if a<>1.1|b<>2.2 then pause,end
42 43
43deff("y=foo()",[ 44deff("y=foo()",[
44 " y=0;" 45" y=0;"
45 " execstr(""[aa,bb] = resume(1.1,2.2)"");" 46" execstr(""[aa,bb] = resume(1.1,2.2)"");"
46 " y=3;"],"n") 47" y=3;"],"n")
47if foo()<>0 then pause,end 48if foo()<>0 then pause,end
48if aa<>1.1|bb<>2.2 then pause,end 49if aa<>1.1|bb<>2.2 then pause,end
49 50
50clear aa bb foo 51clear aa bb foo
51deff("y=foo()",[ 52deff("y=foo()",[
52 " y=0;" 53" y=0;"
53 " execstr(""[aa,bb] = resume(1.1,2.2)"");" 54" execstr(""[aa,bb] = resume(1.1,2.2)"");"
54 " y=3;"]) 55" y=3;"])
55if foo()<>0 then pause,end 56if foo()<>0 then pause,end
56if aa<>1.1|bb<>2.2 then pause,end 57if aa<>1.1|bb<>2.2 then pause,end
57 58
58clear aa bb foo 59clear aa bb foo
59deff("y=foo()",[ 60deff("y=foo()",[
60 " y=0;" 61" y=0;"
61 " for k=1:2" 62" for k=1:2"
62 " if k==1 then" 63" if k==1 then"
63 " execstr(""[aa,bb] = resume(1.1,2.2)"");" 64" execstr(""[aa,bb] = resume(1.1,2.2)"");"
64 " end" 65" end"
65 " end" 66" end"
66 " y=3;"]) 67" y=3;"])
67if foo()<>0 then pause,end 68if foo()<>0 then pause,end
68if aa<>1.1|bb<>2.2 then pause,end 69if aa<>1.1|bb<>2.2 then pause,end
69 70
@@ -72,21 +73,21 @@ if aa<>1.1|bb<>2.2 then pause,end
72 73
73clear aa bb foo 74clear aa bb foo
74deff("y=foo()",[ 75deff("y=foo()",[
75 " y=0;" 76" y=0;"
76 " [aa,bb] = resume(1.1,2.2);" 77" [aa,bb] = resume(1.1,2.2);"
77 " y=3;"],"n") 78" y=3;"],"n")
78if foo()<>0 then pause,end 79if foo()<>0 then pause,end
79if aa<>1.1|bb<>2.2 then pause,end 80if aa<>1.1|bb<>2.2 then pause,end
80 81
81clear aa bb foo 82clear aa bb foo
82deff("y=foo()",[ 83deff("y=foo()",[
83 " y=0;" 84" y=0;"
84 " for k=1:2" 85" for k=1:2"
85 " if k==1 then" 86" if k==1 then"
86 " [aa,bb] = resume(1.1,2.2);" 87" [aa,bb] = resume(1.1,2.2);"
87 " end" 88" end"
88 " end" 89" end"
89 " y=3;"],"n") 90" y=3;"],"n")
90if foo()<>0 then pause,end 91if foo()<>0 then pause,end
91if aa<>1.1|bb<>2.2 then pause,end 92if aa<>1.1|bb<>2.2 then pause,end
92 93
@@ -94,39 +95,39 @@ if aa<>1.1|bb<>2.2 then pause,end
94 95
95clear aa bb foo 96clear aa bb foo
96deff("y=foo()",[ 97deff("y=foo()",[
97 " y=0;" 98" y=0;"
98 " [aa,bb] = resume(1.1,2.2);" 99" [aa,bb] = resume(1.1,2.2);"
99 " y=3;"]) 100" y=3;"])
100if foo()<>0 then pause,end 101if foo()<>0 then pause,end
101if aa<>1.1|bb<>2.2 then pause,end 102if aa<>1.1|bb<>2.2 then pause,end
102 103
103clear aa bb foo y 104clear aa bb foo y
104deff("y=foo()",[ 105deff("y=foo()",[
105 " y=0;" 106" y=0;"
106 " execstr(""[aa,bb] = resume(1.1,2.2)"");" 107" execstr(""[aa,bb] = resume(1.1,2.2)"");"
107 " y=3;"],"n") 108" y=3;"],"n")
108exec(foo,-1) 109exec(foo,-1)
109if y<>0|aa<>1.1|bb<>2.2 then pause,end 110if y<>0|aa<>1.1|bb<>2.2 then pause,end
110 111
111 112
112clear aa bb foo y 113clear aa bb foo y
113deff("y=foo()",[ 114deff("y=foo()",[
114 " y=0;" 115" y=0;"
115 " execstr(""[aa,bb] = resume(1.1,2.2)"");" 116" execstr(""[aa,bb] = resume(1.1,2.2)"");"
116 " y=3;"]) 117" y=3;"])
117exec(foo,-1) 118exec(foo,-1)
118if y<>0|aa<>1.1|bb<>2.2 then pause,end 119if y<>0|aa<>1.1|bb<>2.2 then pause,end
119 120
120 121
121clear aa bb foo y 122clear aa bb foo y
122deff("y=foo()",[ 123deff("y=foo()",[
123 " y=0;" 124" y=0;"
124 " for k=1:2" 125" for k=1:2"
125 " if k==1 then" 126" if k==1 then"
126 " execstr(""[aa,bb] = resume(1.1,2.2)"");" 127" execstr(""[aa,bb] = resume(1.1,2.2)"");"
127 " end" 128" end"
128 " end" 129" end"
129 " y=3;"]) 130" y=3;"])
130exec(foo,-1); 131exec(foo,-1);
131if y<>0|aa<>1.1|bb<>2.2 then pause,end 132if y<>0|aa<>1.1|bb<>2.2 then pause,end
132 133
diff --git a/scilab/modules/core/tests/nonreg_tests/bug_6726.tst b/scilab/modules/core/tests/nonreg_tests/bug_6726.tst
index 8774035..6d28b0e 100644
--- a/scilab/modules/core/tests/nonreg_tests/bug_6726.tst
+++ b/scilab/modules/core/tests/nonreg_tests/bug_6726.tst
@@ -8,6 +8,7 @@
8// <-- Non-regression test for bug 6726 --> 8// <-- Non-regression test for bug 6726 -->
9// 9//
10// <-- CLI SHELL MODE --> 10// <-- CLI SHELL MODE -->
11// <-- NOT FIXED --> 6.0.0
11// <-- Bugzilla URL --> 12// <-- Bugzilla URL -->
12// http://bugzilla.scilab.org/show_bug.cgi?id=6726 13// http://bugzilla.scilab.org/show_bug.cgi?id=6726
13// 14//
@@ -21,10 +22,10 @@ Dir = TMPDIR + "/bug_6726/";
21mkdir(Dir); 22mkdir(Dir);
22 23
23function y=$a(x) 24function y=$a(x)
24y=x+1 25 y=x+1
25endfunction 26endfunction
26function y=z(x) 27function y=z(x)
27y=x+1 28 y=x+1
28endfunction 29endfunction
29 30
30save(Dir + "$a.bin", $a); 31save(Dir + "$a.bin", $a);
@@ -32,7 +33,7 @@ save(Dir + "z.bin", z);
32mputl(["z" "$a"], Dir + "names"); 33mputl(["z" "$a"], Dir + "names");
33testlib=lib(Dir); 34testlib=lib(Dir);
34 35
35clear z $a 36clear z $a
36if exists("z")==0 then pause,end 37if exists("z")==0 then pause,end
37if exists("$a")==0 then pause,end 38if exists("$a")==0 then pause,end
38 39
diff --git a/scilab/modules/core/tests/nonreg_tests/bug_7453.tst b/scilab/modules/core/tests/nonreg_tests/bug_7453.tst
index 61f5e1d..d3aacf0 100644
--- a/scilab/modules/core/tests/nonreg_tests/bug_7453.tst
+++ b/scilab/modules/core/tests/nonreg_tests/bug_7453.tst
@@ -6,6 +6,7 @@
6// ============================================================================= 6// =============================================================================
7// 7//
8// <-- CLI SHELL MODE --> 8// <-- CLI SHELL MODE -->
9// <-- NOT FIXED --> 6.0.0
9// 10//
10// <-- Non-regression test for bug 7453 --> 11// <-- Non-regression test for bug 7453 -->
11// 12//
@@ -18,9 +19,9 @@
18// 19//
19// 20//
20 21
21id = funptr('user'); 22id = funptr("user");
22if id == 0 then pause, end 23if id == 0 then pause, end
23if clearfun('user') <> %t then pause, end 24if clearfun("user") <> %t then pause, end
24newfun('user', id); 25newfun("user", id);
25if user(3) <> 3 then pause, end 26if user(3) <> 3 then pause, end
26 27
diff --git a/scilab/modules/core/tests/nonreg_tests/bug_7974.tst b/scilab/modules/core/tests/nonreg_tests/bug_7974.tst
index 03567bb..3f4ccf0 100644
--- a/scilab/modules/core/tests/nonreg_tests/bug_7974.tst
+++ b/scilab/modules/core/tests/nonreg_tests/bug_7974.tst
@@ -8,7 +8,8 @@
8// <-- Non-regression test for bug 7974 --> 8// <-- Non-regression test for bug 7974 -->
9// 9//
10// <-- CLI SHELL MODE --> 10// <-- CLI SHELL MODE -->
11// 11// <-- NOT FIXED --> 6.0.0
12//
12// <-- Bugzilla URL --> 13// <-- Bugzilla URL -->
13// http://bugzilla.scilab.org/show_bug.cgi?id=7974 14// http://bugzilla.scilab.org/show_bug.cgi?id=7974
14// 15//
@@ -17,18 +18,18 @@
17 18
18ilib_verbose(0); 19ilib_verbose(0);
19if haveacompiler() then 20if haveacompiler() then
20 cd TMPDIR; 21 cd TMPDIR;
21 mkdir("bug_7974"); 22 mkdir("bug_7974");
22 cd("bug_7974"); 23 cd("bug_7974");
23 copyfile(SCI + "/modules/core/tests/nonreg_tests/bug_7974.c", TMPDIR + "/bug_7974/bug_7974.c"); 24 copyfile(SCI + "/modules/core/tests/nonreg_tests/bug_7974.c", TMPDIR + "/bug_7974/bug_7974.c");
24 if ~isfile(TMPDIR + "/bug_7974/bug_7974.c") then pause, end 25 if ~isfile(TMPDIR + "/bug_7974/bug_7974.c") then pause, end
25 ilib_build("build_c",["call_xerbla","sci_call_xerbla"], "bug_7974.c", []); 26 ilib_build("build_c",["call_xerbla","sci_call_xerbla"], "bug_7974.c", []);
26 exec loader.sce; 27 exec loader.sce;
27 28
28 if execstr("call_xerbla(""FUN123"", 10)", "errcatch") <> 998 then pause, end 29 if execstr("call_xerbla(""FUN123"", 10)", "errcatch") <> 998 then pause, end
29 [msg, err] = lasterror(); 30 [msg, err] = lasterror();
30 if err <> 998 then pause, end 31 if err <> 998 then pause, end
31 refline = " if execstr(""call_xerbla(""""FUN123"""", 10)"", ""errcatch"") <> 998 then pause, end"; 32 refline = " if execstr(""call_xerbla(""""FUN123"""", 10)"", ""errcatch"") <> 998 then pause, end";
32 if msg <> refline then pause, end 33 if msg <> refline then pause, end
33 34
34end 35end
diff --git a/scilab/modules/core/tests/nonreg_tests/bug_883.tst b/scilab/modules/core/tests/nonreg_tests/bug_883.tst
index 1302290..4c4d35b 100644
--- a/scilab/modules/core/tests/nonreg_tests/bug_883.tst
+++ b/scilab/modules/core/tests/nonreg_tests/bug_883.tst
@@ -1,77 +1,77 @@
1// ============================================================================= 1// =============================================================================
2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab 2// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3// Copyright (C) 2005-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr> 3// Copyright (C) 2005-2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
4// 4//
5// This file is distributed under the same license as the Scilab package. 5// This file is distributed under the same license as the Scilab package.
6// ============================================================================= 6// =============================================================================
7 7// <-- NOT FIXED --> 6.0.0
8// <-- Non-regression test for bug 883 --> 8// <-- Non-regression test for bug 883 -->
9// 9//
10// <-- Bugzilla URL --> 10// <-- Bugzilla URL -->
11// http://bugzilla.scilab.org/show_bug.cgi?id=883 11// http://bugzilla.scilab.org/show_bug.cgi?id=883
12// 12//
13// <-- Short Description --> 13// <-- Short Description -->
14// format() output oddities 14// format() output oddities
15 15
16SCIFILE = TMPDIR+"/bug883.dia"; 16SCIFILE = TMPDIR+"/bug883.dia";
17diary(SCIFILE); 17diary(SCIFILE);
18 18
19a = %pi/100; 19a = %pi/100;
20b = 2*%pi/a; 20b = 2*%pi/a;
21for i=2:25 21for i=2:25
22 format(i); 22 format(i);
23 disp(b); 23 disp(b);
24end; 24end;
25diary(0); 25diary(0);
26 26
27SCIFILECONTENTS=mgetl(SCIFILE); 27SCIFILECONTENTS=mgetl(SCIFILE);
28 28
29REFCONTENTS=[" "; 29REFCONTENTS=[" ";
30 " ** "; 30" ** ";
31 " "; 31" ";
32 " *** "; 32" *** ";
33 " "; 33" ";
34 " 200. "; 34" 200. ";
35 " "; 35" ";
36 " 200. "; 36" 200. ";
37 " "; 37" ";
38 " 200. "; 38" 200. ";
39 " "; 39" ";
40 " 200. "; 40" 200. ";
41 " "; 41" ";
42 " 200. "; 42" 200. ";
43 " "; 43" ";
44 " 200. "; 44" 200. ";
45 " "; 45" ";
46 " 200. "; 46" 200. ";
47 " "; 47" ";
48 " 200. "; 48" 200. ";
49 " "; 49" ";
50 " 200. "; 50" 200. ";
51 " "; 51" ";
52 " 200. "; 52" 200. ";
53 " "; 53" ";
54 " 200. "; 54" 200. ";
55 " "; 55" ";
56 " 200. "; 56" 200. ";
57 " "; 57" ";
58 " 200. "; 58" 200. ";
59 " "; 59" ";
60 " 200. "; 60" 200. ";
61 " "; 61" ";
62 " 200. "; 62" 200. ";
63 " "; 63" ";
64 " 199.99999999999997 "; 64" 199.99999999999997 ";
65 " "; 65" ";
66 " 199.999999999999972 "; 66" 199.999999999999972 ";
67 " "; 67" ";
68 " 199.9999999999999716 "; 68" 199.9999999999999716 ";
69 " "; 69" ";
70 " 199.99999999999997158 "; 70" 199.99999999999997158 ";
71 " "; 71" ";
72 " 199.999999999999971578 "; 72" 199.999999999999971578 ";
73 " "; 73" ";
74 " 199.9999999999999715783 "; 74" 199.9999999999999715783 ";
75 " "; 75" ";
76 " 199.99999999999997157829 "]; 76" 199.99999999999997157829 "];
77if or(REFCONTENTS<>SCIFILECONTENTS) then pause,end 77if or(REFCONTENTS<>SCIFILECONTENTS) then pause,end
diff --git a/scilab/modules/core/tests/unit_tests/comand.tst b/scilab/modules/core/tests/unit_tests/comand.tst
index 40663b2..465a72d 100644
--- a/scilab/modules/core/tests/unit_tests/comand.tst
+++ b/scilab/modules/core/tests/unit_tests/comand.tst
@@ -7,6 +7,7 @@
7// ============================================================================= 7// =============================================================================
8 8
9// <!-- ENGLISH IMPOSED --> 9// <!-- ENGLISH IMPOSED -->
10// <-- NOT FIXED --> 6.0.0
10 11
11funcprot(0); 12funcprot(0);
12 13
@@ -14,30 +15,30 @@ clear //sdfdgd
14clear//sdfdgd 15clear//sdfdgd
15a=1; 16a=1;
16clear a//sdfdgd 17clear a//sdfdgd
17deff('y=foo(a,b,c)','y=a+b+c') 18deff("y=foo(a,b,c)","y=a+b+c")
18foo aaa bbb cc 19foo aaa bbb cc
19if ans<>'aaabbbcc' then pause,end 20if ans<>"aaabbbcc" then pause,end
20foo aaa bbb cc; 21foo aaa bbb cc;
21if ans<>'aaabbbcc' then pause,end 22if ans<>"aaabbbcc" then pause,end
22foo 'aaa' bbb 'cc' 23foo 'aaa' bbb 'cc'
23if ans<>'aaabbbcc' then pause,end 24if ans<>"aaabbbcc" then pause,end
24foo aaa 'bbb' cc 25foo aaa 'bbb' cc
25if ans<>'aaabbbcc' then pause,end 26if ans<>"aaabbbcc" then pause,end
26foo aaa bbb cc //qdsddfd 27foo aaa bbb cc //qdsddfd
27if ans<>'aaabbbcc' then pause,end 28if ans<>"aaabbbcc" then pause,end
28foo aaa bbb cc//qdsddfd 29foo aaa bbb cc//qdsddfd
29if ans<>'aaabbbcc' then pause,end 30if ans<>"aaabbbcc" then pause,end
30deff('y=foo(a,b,c)','y=a+b+c') 31deff("y=foo(a,b,c)","y=a+b+c")
31foo aaa bbb cc 32foo aaa bbb cc
32if ans<>'aaabbbcc' then pause,end 33if ans<>"aaabbbcc" then pause,end
33foo 'aaa' bbb 'cc' 34foo 'aaa' bbb 'cc'
34if ans<>'aaabbbcc' then pause,end 35if ans<>"aaabbbcc" then pause,end
35foo aaa 'bbb' cc 36foo aaa 'bbb' cc
36if ans<>'aaabbbcc' then pause,end 37if ans<>"aaabbbcc" then pause,end
37foo aaa bbb cc //qdsddfd 38foo aaa bbb cc //qdsddfd
38if ans<>'aaabbbcc' then pause,end 39if ans<>"aaabbbcc" then pause,end
39foo aaa bbb cc//qdsddfd 40foo aaa bbb cc//qdsddfd
40if ans<>'aaabbbcc' then pause,end 41if ans<>"aaabbbcc" then pause,end
41 42
42ascii foo; 43ascii foo;
43if ans<>[102,111,111] then pause,end 44if ans<>[102,111,111] then pause,end