# 26e920e1e08a207c77f6711303a1cd2be64898f86c3b63b74560b0ccaff1e69c Elan 1.7.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
