<< empty Scilab keywords equal >>

Scilabヘルプ >> Scilab > Scilab keywords > end

end

end キーワード

説明

ループまたは条件文の末尾で使用されます. for, while, if, select は, end で 終わる必要があります.

a=42
if a==42 then
   disp("the answer to all questions")
end

i = 0
while i<5
   disp("i");
   i = i + 1;
end

n=5;
for i = 1:n
    for j = 1:n
        a(i,j) = 1/(i+j-1);
    end;
end

参照


Report an issue
<< empty Scilab keywords equal >>