1 // =============================================================================
2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2009 - DIGITEO - Allan CORNET
5 // This file is distributed under the same license as the Scilab package.
6 // =============================================================================
7 // <-- CLI SHELL MODE -->
8 // =============================================================================
10 b = [2;3;21;223;123;22];
11 // =============================================================================
15 if and(v == REF_V) <> %t then bugmes();quit;end
16 if and(k == REF_K) <> %t then bugmes();quit;end
17 // =============================================================================
18 REF_V = ['111' ; '4'];
20 [v,k] = setdiff(string(a),string(b));
21 if and(v == REF_V) <> %t then bugmes();quit;end
22 if and(k == REF_K) <> %t then bugmes();quit;end
23 // =============================================================================