|
TNTmips Downloads Menu

|
WHILEFOR.sml
# WHILEFOR.SML
# sample script for "Writing Scripts with SML"
#
numeric a, i;
clear();
while (a <= 360) {
print (a, sin(a/deg));
a = a + 10;
}
print ("#####");
for i = 30 to 360 step 30 {
if (abs(sin(i/deg)) > 0.0001)
print (i, sin(i/deg));
else
print (i, "0.0");
}
©MicroImages, Inc. 2013 Published in the United States of America
11th Floor - Sharp Tower, 206 South 13th Street, Lincoln NE 68508-2010 USA
Business & Sales: (402)477-9554 Support: (402)477-9562 Fax: (402)477-9559
Business info@microimages.com
Support support@microimages.com
Web webmaster@microimages.com
| |