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

« back to all changes in this revision

Viewing changes to examples/intersci-examples/ex7.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
//ex7 example
 
2
//1-Creating interface source file 
 
3
// from ex7fi.desc file by call to intersci
 
4
// Making object files
 
5
// Interface file '/tmp/ex7fi.o'
 
6
// User's files '/tmp/ex7f.o';
 
7
files=G_make(['/tmp/ex7fi.o','/tmp/ex7f.o'],'ex7.dll');
 
8
//2-Link object files .o with addinter
 
9
//addinter(files,'intex7',intex1_funs);
 
10
exec('ex7fi.sce');
 
11
//Run Scilab functions:
 
12
if calc('one')<>1 then pause,end
 
13
if calc('two')<>2 then pause,end
 
14
if calc('other')<>-1 then pause,end
 
15