(!******************************************************* Mosel Example Problems ====================== file testsub.mos ```````````````` Simple model printing some output. (c) 2008 Fair Isaac Corporation author: S. Heipcke, May 2006 *******************************************************!) model "Test submodel" ! Uncomment one of the following lines to redirect output to a file ! fopen("testout.txt", F_OUTPUT+F_APPEND) ! Output to file (in append mode) ! fopen("tee:testout.txt&", F_OUTPUT) ! Output to file and on screen ! fopen("null:", F_OUTPUT) ! Disable all output forall(i in 10..20) write(i^2, " ") writeln ! Uncomment if output is redirected ! fclose(F_OUTPUT) end-model