Scilab: fix examples (no paging which stops tests)

This commit is contained in:
Simon Marchetto 2013-08-20 10:26:08 +02:00
commit 62b61b5349
15 changed files with 21 additions and 19 deletions

View file

@ -1,4 +1,4 @@
// loader the *.so
lines(0);
exec loader.sce;
// ----- Object creation -----

View file

@ -1,4 +1,4 @@
// loader the *.so
lines(0);
exec loader.sce;
printf("ICONST = %i (should be 42)\n", ICONST_get());

View file

@ -1,4 +1,4 @@
// loader the *.so
lines(0);
exec loader.sce;
// Call our gcd() function

View file

@ -1,4 +1,4 @@
// loader the *.so
lines(0);
exec loader.sce;
// Print out the value of some enums

View file

@ -1,4 +1,4 @@
// loader the *.so
lines(0);
exec loader.sce;
a = 37

View file

@ -1,5 +1,5 @@
// loader the *.so
exec loader.sce
lines(0);
exec loader.sce;
// create a new matrix
x = new_matrix();

View file

@ -1,4 +1,5 @@
exec loader.sce
lines(0);
exec loader.sce;
// Test lib double matrix functions
disp("Call lib function getDoubleMatrix()");

View file

@ -1,5 +1,5 @@
// loader the *.so
exec loader.sce
lines(0);
exec loader.sce;
// First create some objects using the pointer library.
printf("Testing the pointer library\n")

View file

@ -1,4 +1,4 @@
// loader the *.so
lines(0);
exec loader.sce;
// Call our gcd() function

View file

@ -1,3 +1,4 @@
lines(0);
exec loader.sce;
SWIG_Init();

View file

@ -1,4 +1,4 @@
// file: runme.sci
lines(0);
exec loader.sce;
SWIG_Init();

View file

@ -1,3 +1,4 @@
lines(0);
exec loader.sce;
SWIG_Init();

View file

@ -1,5 +1,5 @@
//loader the *.so
exec loader.sce
lines(0);
exec loader.sce;
//create a struct
a=new_Bar();

View file

@ -1,3 +1,6 @@
lines(0);
exec loader.sce;
function printShape(shape, name)
printf("\nShape %s position:\n", name);
printf(" (x, y) = (%f, %f)\n", ShapeDouble_x_get(shape), ShapeDouble_y_get(shape))
@ -9,8 +12,6 @@ function printShape(shape, name)
printf("\n");
endfunction
exec loader.sce;
printf("Creating some objects:\n");
c = new_CircleDouble(10);
s = new_SquareDouble(10);

View file

@ -1,7 +1,5 @@
lines(0);
//loader the *.so
exec loader.sce
exec loader.sce;
// Try to set the values of some global variables
ivar_set(42);