~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to macros/m2sci/sci_ferror.sci

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
function [stk,txt,top]=sci_ferror()
2
 
// Copyright INRIA
3
 
txt=[]
4
 
fid=stk(top-rhs+1)
5
 
if lhs==2 then
6
 
  LHS=lhsvarsnames()
7
 
  txt=lhsvars(LHS)+' = merror('+fid(1)+')'
8
 
  stk=list(list(' ','-2','1','1','10'),list(' ','-2','1','1','1'))
9
 
else
10
 
  stk=list('merror('+fid(1)+')','0','1','1','10')
11
 
end
12
 
if rhs==2 then
13
 
  txt=[txt;'mclearerr('+fid(1)+')']
14
 
end
15