|
TNTmips Downloads Menu

|
EXPRESS.sml
# EXPRESS.SML
# sample script for "Writing Scripts with SML"
# shows use of expressions and conditional statments
numeric len, width, area;
len = 50; width = 30;
area = len * width; # compute area
if ( area < 200 ) then
print( "Area is LESS than 200" );
else {
print( "Area is MORE than 200" );
print( "Adjust length or width" );
}
©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
| |