Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534

    Free: Goto plugin

    Someone on the forums was asking about goto a few days back so I whipped up this little plugin.

    Please let me know if you find any bugs in the code.

    All suggestion are most welcome.

    Please email any suggestions or bug reports to my email listed in the plugin.

    By the way, I used someone's DelimitedStringtoTable function but I'm not sure who's it was. If you want credit please email me your code and I'll be happy to include your name and website in the next release.
    Last edited by Centauri Soldier; 08-26-2009 at 04:35 PM.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  2. #2
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324

  3. #3
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    lamo.... In all fairness though, I included a dinosaur warning in the readme.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  4. #4
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Quote Originally Posted by Centauri Soldier View Post
    lamo.... In all fairness though, I included a dinosaur warning in the readme.
    Hahaha
    [10 char limit]
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  5. #5
    Join Date
    Jun 2008
    Posts
    182
    I was the Dinosaur that asked about this in the forum!

    This is a great little add-on!

    You put a huge smile on my face..


    Thanks

  6. #6
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    Glad to help.

    Let me know if you find anything that needs fixed or if you want any other additions to the plugin and I'll see what I can do.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  7. #7
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534

    Update

    Here's an update to the Goto plugin.

    Code:
    Version 1.1.0.0.
    Updated code to use the LUA HELPER FUNCTIONS by MicroByte
    Added the following actions:
    Goto.PageSection
    Goto.PageObjectSection
    Goto.DialogSection
    Goto.DialogObjectSection
    You can now create function-type sections by simply adding an open tag at the desired start line and another close tag at the last line. It's kinda like using a function system without creating any functions. You simply use a commented html/xml open and close tag pair.

    Example

    [place this on a button]
    Code:
    Goto.PageSection("Page1", "On Audio", "Test Section");
    [place this in your On Audio event on Page1 (to reflect the above code)]
    Code:
    --This is a test 
    Dialog.Message("Line", "Line 2");
    Dialog.Message("Line", "Line 3");
    Dialog.Message("Line", "Line 4");--<Test Section>
    Dialog.Message("Line", "Line 5");
    Dialog.Message("Line", "Line 6");
    Dialog.Message("Line", "Line 7"); 
    Dialog.Message("Line", "Line 8");
    Dialog.Message("Line", "Line 9");
    Dialog.Message("Line", "Line 10");
    Dialog.Message("Line", "Line 11");
    Dialog.Message("Line", "Line 12");--</Test Section>
    Dialog.Message("Line", "Line 13");
    Dialog.Message("Line", "Line 14");
    Dialog.Message("Line", "Line 15");
    --End Test
    Another advantage of using sections over line numbers is that the line numbers can be dynamic without affecting your code meaning that you can add and delete lines of code and your sections can still be executed regardless of line number changes.
    Last edited by Centauri Soldier; 09-07-2009 at 04:16 PM.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts