# d5631dfc4cfcabee5a65eedc6a8d3883a880740b018fbd86c8445ee850d6de52 Elan 1.6.1 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
