BREAK.sml

  Download

More scripts: SML Fundamentals

Syntax Highlighing:

comments, key words, predefined symbols, class members & methods, functions & classes
            
numeric b, i;
clear();
b = 6;
for i = 1 to 10 {
	b = b - 1;
	if ( b == 0) break; # no divide by zero
	print( i, b, 1/b );
	}