# 78a9634cde966056d85b48e3cea1e3e5160fc63c1cd954ea05268168b43102b9 Elan 1.8.0 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
