calm_observer Posted November 26, 2005 Share Posted November 26, 2005 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 Link to comment Share on other sites More sharing options...
flyingboz Posted November 26, 2005 Share Posted November 26, 2005 (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 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 edit: The pre-processor directives are listed in the "keyword" section of the manual. Edited November 26, 2005 by flyingboz Reading the help file before you post... Not only will it make you look smarter, it will make you smarter. Link to comment Share on other sites More sharing options...
w0uter Posted November 26, 2005 Share Posted November 26, 2005 (edited) From SciTEau3.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 November 26, 2005 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 Link to comment Share on other sites More sharing options...
Developers Jos Posted November 26, 2005 Developers Share Posted November 26, 2005 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) 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now