Sign in to follow this  
Followers 0
calm_observer

Undocumented Feature?

4 posts in this topic

I'm sure this has been asked/answered before - I have just started using sciTE, and have noticed that some of the sciTE AutoIt files (e.g. AutoIt3Help.au3) have lines such as;

#Compiler_OutFile=AutoIT3Help.a3x

Clearly these lines are treated as comments, but I have found no documentation on this feature. Would someone be kind enough to enlighten me B)

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I'm sure this has been asked/answered before - I have just started using sciTE, and have noticed that some of the sciTE AutoIt files (e.g. AutoIt3Help.au3) have lines such as;

#Compiler_OutFile=AutoIT3Help.a3x

Clearly these lines are treated as comments, but I have found no documentation on this feature. Would someone be kind enough to enlighten me :o

Technically, they're not comments, but compiler directives - the # syntax is borrowed from c style syntax, i.e.
#include

These directives can affect compiler behavior , or the behavior of an editing environment (#region / #endregion)... Searching through the help files for 'directive' may well help you in determining what is useful for your needs.

Of course, if you want to write a script that incorporates all the directives into a section of the helpfile, that would be nice, too B)

edit: The pre-processor directives are listed in the "keyword" section of the manual.

Edited by flyingboz

Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

From SciTE

au3.keywords.special=#region #compiler_allow_decompile #compiler_au3check_dat #compiler_aut2exe \

#compiler_autoit3 #compiler_compression #compiler_icon #compiler_outfile #compiler_outfile_type \

#compiler_passphrase #compiler_prompt #compiler_res_comment #compiler_res_description \

#compiler_res_field #compiler_res_field1name #compiler_res_field1value #compiler_res_field2name \

#compiler_res_field2value #compiler_res_fileversion #compiler_res_legalcopyright \

#compiler_run_after #compiler_run_au3check #compiler_run_before #endregion

Edited by w0uter

My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll

Share this post


Link to post
Share on other sites

They are Ignored by AutoIt3 and are used by compileau3.exe, which is a wrapper script for aut2exe.

See the Helpfile that came with the SciTE4AutoIt3 installer (Ctrl+F1)

B)


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0