Revert "scilab: runtime initialization needed in examples"
This reverts commit 54b84b8fa1.
This commit is contained in:
parent
e4f0fc44a0
commit
9d4a4439da
9 changed files with 1 additions and 9 deletions
|
|
@ -5,7 +5,6 @@ if ierr <> 0 then
|
||||||
disp(lasterror());
|
disp(lasterror());
|
||||||
exit(ierr);
|
exit(ierr);
|
||||||
end
|
end
|
||||||
example_Init();
|
|
||||||
|
|
||||||
// ----- Object creation -----
|
// ----- Object creation -----
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ if ierr <> 0 then
|
||||||
disp(lasterror());
|
disp(lasterror());
|
||||||
exit(ierr);
|
exit(ierr);
|
||||||
end
|
end
|
||||||
example_Init();
|
|
||||||
|
|
||||||
// Call our gcd() function
|
// Call our gcd() function
|
||||||
x = 42;
|
x = 42;
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ if ierr <> 0 then
|
||||||
disp(lasterror());
|
disp(lasterror());
|
||||||
exit(ierr);
|
exit(ierr);
|
||||||
end
|
end
|
||||||
example_Init();
|
|
||||||
|
|
||||||
a = 37
|
a = 37
|
||||||
b = 42
|
b = 42
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ if ierr <> 0 then
|
||||||
disp(lasterror());
|
disp(lasterror());
|
||||||
exit(ierr);
|
exit(ierr);
|
||||||
end
|
end
|
||||||
example_Init();
|
|
||||||
|
|
||||||
// create a new matrix
|
// create a new matrix
|
||||||
x = new_matrix();
|
x = new_matrix();
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ if ierr <> 0 then
|
||||||
disp(lasterror());
|
disp(lasterror());
|
||||||
exit(ierr);
|
exit(ierr);
|
||||||
end
|
end
|
||||||
example_Init();
|
|
||||||
|
|
||||||
// Test lib double matrix functions
|
// Test lib double matrix functions
|
||||||
disp("Call lib function getDoubleMatrix()");
|
disp("Call lib function getDoubleMatrix()");
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ if ierr <> 0 then
|
||||||
disp(lasterror());
|
disp(lasterror());
|
||||||
exit(ierr);
|
exit(ierr);
|
||||||
end
|
end
|
||||||
example_Init();
|
|
||||||
|
|
||||||
// First create some objects using the pointer library.
|
// First create some objects using the pointer library.
|
||||||
printf("Testing the pointer library\n")
|
printf("Testing the pointer library\n")
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ if ierr <> 0 then
|
||||||
disp(lasterror());
|
disp(lasterror());
|
||||||
exit(ierr);
|
exit(ierr);
|
||||||
end
|
end
|
||||||
example_Init();
|
|
||||||
|
|
||||||
// Call our gcd() function
|
// Call our gcd() function
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ if ierr <> 0 then
|
||||||
disp(lasterror());
|
disp(lasterror());
|
||||||
exit(ierr);
|
exit(ierr);
|
||||||
end
|
end
|
||||||
example_Init();
|
|
||||||
|
|
||||||
// Test use of a struct (Bar)
|
// Test use of a struct (Bar)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ if ierr <> 0 then
|
||||||
disp(lasterror());
|
disp(lasterror());
|
||||||
exit(ierr);
|
exit(ierr);
|
||||||
end
|
end
|
||||||
example_Init();
|
|
||||||
|
|
||||||
// Try to set the values of some global variables
|
// Try to set the values of some global variables
|
||||||
ivar_set(42);
|
ivar_set(42);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue