saving . . . saved scripts and functions has been deleted. scripts and functions has been hidden .
scripts and functions
Title
Question
In same video at 8.31 a statement given about semicolon ...what is the meaning for the statement(Inside a function file,you can check for yourself the effect of putting a semicolon...)


Scilab Scripts-and-Functions 08-09 min 40-50 sec 04-05-19, 2:47 p.m. chitraraj05

Answers:

It means that you should, as and when you have time, write scripts with lines with and without a semicolon to see the difference it makes.
04-05-19, 2:54 p.m. siddharth11235@gmail.com


If you put a semicolon at the end of the statement, the output of that line will not be displayed in the scilab console window.

If you want the output in scilab console after running the file (program), then you have to enter the variable to know the output of that variable.
04-05-19, 2:57 p.m. trulyajays
If you put a semicolon at the end of the statement,the output of that line will not be displayedin the scilab console window.

i have executed the above underlined statement in my system but output displayed along with that line....
04-05-19, 3:01 p.m. chitraraj05

Login to add comment


may be sometimes if you have single output, and the file has single line it will display.



For example, here the output will be displayed as 12. May be the version of scilab also matters.

clc
a = 3;
b= 4;
c = 5;
d = a+b+c;
disp(d)

04-05-19, 3:05 p.m. trulyajays


Log-in to answer to this question.