Jump to content

Recommended Posts

Posted

Does whitespace matter in AutoIt? If it doesn't, I can remove them all to reduce script size right? 
By whitespace I mean the Tab character. IN the image the red part represents the tab just to make things clear

Capture.PNG.e7d7ed1601ffa5c58f3f9b6cfd08

  • Developers
Posted

You don't what to reduce the size and simply make it readable. Use Tidy to make it readable again.
You could use au3stripper to strip your script back to the essentials and the aut2exe compiler takes the whitespace out anyways so there is nothing to worry about.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

Thanks for the sugestion
However, I only do this before compiling since I will be hosting the file on a limited server, and need to reduce the size as much as possible.

Anyway I will look for more ways to help optimize my script. Thanks for creating an awesome language!

  • Developers
Posted
1 minute ago, giangnguyen said:

However, I only do this before compiling since I will be hosting the file on a limited server, and need to reduce the size as much as possible.

,... and I am telling you that this is not needed as aut2exe strips the white spacing for you! ;)

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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...