# ade5e9bd2444c7d17ee7ab89a2c83501fdc93c5a04e75ed45cec2df0211ac27c Elan 1.8.2 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
