summaryrefslogtreecommitdiff
path: root/src/Scilab2C/GeneralFunctions/SCI2Cerror.sci
blob: 444dcff5db5ae7d1aa0ba3fc058d12fa9498d8b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
function SCI2Cerror(errorstring);
// function SCI2Cerror(errorstring);
// -----------------------------------------------------------------
// It is the error function but before issuing the error, perorms
// the mclose('all');
// 02-May-2006 -- Nutricato Raffaele: Author.
// -----------------------------------------------------------------

mclose('all')
error('###########SCI2C_ERROR: '+errorstring);
endfunction