next up previous contents
Next: Maxima Mode Up: Programming Previous: Programming

Oktave Mode

Branch if x==0 xp=1; end
if x==0 xp=1; else xp=2; end
Loop while x<17 x=x+1; end
for i=0:100 x=x+i; end
Jump return, continue, break
Function function y=ttwo(x) y=2*x; end
Evaluate eval('x=24')
Textoutput printf('Ergebnis=%f', x)
Errormessage error('Fehler')


Helmut Dersch
2009-03-15