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

« back to all changes in this revision

Viewing changes to macros/int/%s_i_i.sci

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
function n=%s_i_i(i,j,f2,n)
 
2
[lhs,rhs]=argn(0)
 
3
if rhs==3 then
 
4
  n=f2;f2=j
 
5
  is=inttype(n)
 
6
  n(i)=iconvert(f2,is)
 
7
else
 
8
  is=inttype(n)
 
9
  n(i,j)=iconvert(f2,is)
 
10
end
 
11