Jump to content

Recommended Posts

Posted

I am not sure if I need to bother closing my open file handles, graphical handles etc before I exit a program.

Does AutoIt close all open handles itself when the program exits or do I need to make sure they are closed before  I exit?

 

 

  • Moderators
Posted

aiter,

AutoIt does a pretty good job cleaning up after itself, but I would argue that it is good practice to do as much as you can in your own code. if nothing else, it will get you into good habits for when you move onto a less-forgiving language.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...