___________________________________________
scilab-4.0 Copyright (c) 1989-2006 Consortium Scilab (INRIA, ENPC)
___________________________________________
Startup execution: loading initial environment
-->cd c:/work; -->foosubs=[ "foof","foofsum" ]; -->link("foo.dll",foosubs); shared archive loaded Link done -->a=[1,2,3;4,5,6];b= %pi; -->[m,n]=size(a); -->// In subroutine "foof", -->// a is in position 2 and double -->// b is in position 3 and double -->// c is in position 1 and real with size [m,n] -->// -->c=call("foof",a,2,"d",b,3,"d",n,4,"i",m,5,"i","out",[m,n],1,"d"); -->c c =
3.9830636 4.0508901 3.2827127 2.3847902 2.1826684 2.8621772
-->// In subroutine "foofsum", -->// a is in position 2 and real -->// b is in position 3 and real -->// arguments following the "out" keyword in call statement are subroutine output -->// c1 is in position 1 and real with size [m,n] -->// s is in position 6 and real -->// ch is in position 7 with type character(len=4) -->// -->[c1,s,ch] = call("foofsum",a,2,"r",b,3,"r",n,4,"i",m,5,"i", ... --> "out",[m,n],1,"r",[1,1],6,"r",[1,4],7,"c"); -->c1 c1 =
3.9830637 4.05089 3.2827127 2.3847902 2.1826684 2.8621771
-->s s =
18.746304
-->ch ch =
done
-->
|