2
//[1] call intersci with Makefile
4
V=G_make('ex07fi.c','ex07fi.c');
5
//[2] run the builder generated by intersci.
6
// Since files and libs were nor transmited
7
// to intersci we give them here
8
files = ['ex07fi.o';'ex07c.o'];
10
exec ex07fi_builder.sce
12
//[3] run the loader to load the interface
13
// Note that the file loader.sce
14
// is changed each time you run a demo
15
// if several .desc are present in a directory
19
//[4] test the loaded function
21
if calc('one')<>1 then pause,end
22
if calc('two')<>2 then pause,end
23
if calc('other')<>-1 then pause,end