From: <vin...@us...> - 2011-01-03 12:31:27
|
Revision: 12363 http://swig.svn.sourceforge.net/swig/?rev=12363&view=rev Author: vincentcouvert Date: 2011-01-03 12:31:21 +0000 (Mon, 03 Jan 2011) Log Message: ----------- Update example Modified Paths: -------------- branches/gsoc2009-sploving/Examples/scilab/simple/runme.sci Modified: branches/gsoc2009-sploving/Examples/scilab/simple/runme.sci =================================================================== --- branches/gsoc2009-sploving/Examples/scilab/simple/runme.sci 2011-01-03 12:29:09 UTC (rev 12362) +++ branches/gsoc2009-sploving/Examples/scilab/simple/runme.sci 2011-01-03 12:31:21 UTC (rev 12363) @@ -8,6 +8,11 @@ g = gcd(x,y); printf("The gcd of %d and %d is %d\n",x,y,g); +x = [42 43]; +y = 105; +g = gcd(x,y); +printf("The gcd of %d and %d is %d\n",x,y,g); + // Manipulate the Foo global variable // Output its current value This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |