nikink Posted June 27, 2006 Share Posted June 27, 2006 Just as the title says, I've seen #region appear in some scripts but it isn't mentioned in the help files anywhere. What does it do? What is it for? Why is it not mentioned? Just curious... B-) Link to comment Share on other sites More sharing options...
herewasplato Posted June 27, 2006 Share Posted June 27, 2006 ...#region ... isn't mentioned in the help files anywhere...Check the SciTE help file:We also added a special folding keyword #region-#endregion. Any text behind these keywords on the line are considered comments. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Squirrely1 Posted June 27, 2006 Share Posted June 27, 2006 Just as the title says, I've seen #region appear in some scripts but it isn't mentioned in the help files anywhere. What does it do? What is it for? Why is it not mentioned?Just curious...B-)#Region mySectionOfCode......#EndRegion These tags help you when coding with SciTe. You can fold the code that is outside of functions, so you don't have to scroll up and down through your editor so much so. If you aren't using SciTe, this element probably won't help you. Das Häschen benutzt Radar Link to comment Share on other sites More sharing options...
nfwu Posted June 27, 2006 Share Posted June 27, 2006 If you aren't using SciTe, this element probably won't help you.That depends on whether the editor you are using supports this feature.#) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 27, 2006 Share Posted June 27, 2006 #Region mySectionOfCode......#EndRegion These tags help you when coding with SciTe. You can fold the code that is outside of functions, so you don't have to scroll up and down through your editor so much so. If you aren't using SciTe, this element probably won't help you.Cool! My Grandfather always said "Learn something new every day." I just learned something new, and usefull too.I haven't even gone to work yet, and I'm done for the day! Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
ivan Posted June 27, 2006 Share Posted June 27, 2006 Try it out! I can't do without it! Think out of the boxGrabber: Yet another WinInfo tool_CSVLib (still alpha)Dynamic html in au3 Link to comment Share on other sites More sharing options...
nikink Posted June 27, 2006 Author Share Posted June 27, 2006 Cool, I had kinda figured that was what it did, but I didn't know if my using it that way would cause unexpected issues. Great! I don't feel so dumb now... B-) And, er yeah... the Scite help files... I didn't even suspect it was a Scite only thing, only an AutoIt thing... d'oh! Thanks all! Link to comment Share on other sites More sharing options...
AutoItKing Posted June 28, 2006 Share Posted June 28, 2006 It helps with organization too. But in my case my scripts are still very messy. BenEditor in particular. http://www.autoitking.co.nr Site is DOWN | My deviantART | No Topic Topic - Don't do it!-------------------- UDF's/Scripts:AutoIt: [BenEditor 3.6] [_ShutDown()]PHP: [CommentScript]Web Based AutoIt: [MemStats] [HTML to AU3] [User LogIn and SignUp script] 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