# ad05ace9ece26b2dbcbac2131000226d24986f46ddbeb9e7eac8e3d904d42246 Elan 1.6.4 guest default_profile valid

main
  let file be createFileForWriting("squares.txt")
  for i from 1 to 100 step 1
    call file.writeLine("{i*i}")
  end for
  try
    call file.saveAndClose()
  catch exception in e
    print "File save cancelled"
  end try
end main
