Scilab 2 - Robotica
Scilab 2 - Robotica
Scilab 2 - Robotica
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Le stringhe I numeri interi Strutture di controllo<br />
La variante elseif<br />
la variante elseif permette di scegliere tra più condizioni:<br />
if (ora >= 6 & ora < 12) then<br />
disp ("Mattina!")<br />
elseif (ora >= 12 & ora < 18) then<br />
disp ("Pomeriggio!")<br />
elseif (ora >= 18 & ora < 22) then<br />
disp ("Sera!")<br />
else<br />
disp ("Notte!")<br />
end<br />
Tullio Facchinetti CNeP: Introduzione a <strong>Scilab</strong> (2)