How To ...‎ > ‎

My Library

Libraries
    How to make a Library (of code segments, tips, ideas, etc) to use when programming.    
        
1. Making a Common Handler Library 
            If you use the same handlers in many of your programs, you can assemble them into a library to use with many programs. For instance say you have common buttons and scripts such as Help, About, Enemy movements, etc, you can put them together into 1 library
            
    Make a New Stack called "My Library" and put all the common handlers together on the Stack Script 
    Then in every program that you want to use them, 
    add the following command:

            start using stack "mylibrary"

    This places that stack in the message path (after the current stack). You can insert up to 50 stacks.
Comments