~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to examples/link-examples/ext1f.sce

  • 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
//Copyright INRIA
 
2
 
 
3
//(very) simple example 1
 
4
 
 
5
files=G_make(['/tmp/ext1f.o'],'ext1f.dll');
 
6
link(files,'ext1f');
 
7
 
 
8
a=[1,2,3];b=[4,5,6];n=3;
 
9
c=call('ext1f',n,1,'i',a,2,'d',b,3,'d','out',[1,3],4,'d');
 
10
if norm(c-(a+b)) > %eps then pause,end
 
11