summaryrefslogtreecommitdiff
path: root/src/Scilab2C/Scilab2C/GeneralFunctions/SCI2CerrorFile.sci
blob: 9ee8962dd1f0bea812f2a9d3bed0f33ed09aec80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function SCI2CerrorFile(errorstring,filename);
// function SCI2CerrorFile(errorstring,filename);
// -----------------------------------------------------------------
//
// Status:
// 02-May-2006 -- Nutricato Raffaele: Author.
//
// Copyright 2007 Raffaele Nutricato.
// Contact: raffaele.nutricato@tiscali.it
// -----------------------------------------------------------------

SCI2CNInArgCheck(argn(2),2,2);

mclose('all')
PrintStringInfo('Error: '+errorstring,filename,'both');
error('####SCI2C_ERROR -> Read File: '+filename+'.');
endfunction