home *** CD-ROM | disk | FTP | other *** search
- !Help file for !ProcFunc
-
- Have you ever found yourself looking through BASIC programs and saying to
- yourself "Now where did I put that procedure?". If so, then this application
- simplifies the process because all you have to do is to drop a BASIC program
- on to the icon and the main window will open up with two scrollable windows
- which show all the procedures and functions within that BASIC program. The
- programs filename is given at the top of this window so you know what
- program you are looking at.
-
- Note that is a procedure or function takes parameters, then these are NOT
- shown, instead the procedure or function name is given and this is followed
- by () which indicates that the procedure or function takes parameters.
-
- Once this window is open, clicking on any of the procedure or function
- names, a window will open from which you will be able to save that procedure
- or function after clicking on the Save Proc/Fn icon. This will then open up
- a menu from which you will be able to save the procedure or function ready
- to be incorporated into your own programs as either a BASIC program or as a
- text file.
-
- Clicking on 'Show listing' will open up a window after a period of time (the
- period of time dependent upon the size of the procedure or function) so that
- you can see whether it is actually the procedure or function you are looking
- for.
-
- It is also possible to search through the list of procedure and function
- names by clicking with Menu anywhere on the main window and selecting
- Search... from the menu. This then opens a dialogue box, in which you set
- the string you wish to search for, whether the search string is contained
- within a string, it begins with the search string, it ends with the search
- string or the search string given is the full name of the procedure or
- function that you wish to search for. You may also set whether the program
- is to look only for procedures, functions or for both of them. After
- clicking on Search the application will tell you how many it has found by
- displaying the result in the bottom left hand corner of the window. If the
- search has been successful then clicking on Show results will open up the
- window described earlier from which you will be able to save the procedures
- or functions. If you now look at this window you will notice that the two
- arrow icons on the right hand side of the window will be unshaded. This will
- allow you to cycle through the list of procedure and/or functions that the
- application has found which mathced your search criteria. Each of the
- procedures and functions found will be able to be saved as before.
-
- The iconbar menu is a standard menu with one extra option - Dragging - this
- will be shaded for users of RISC OS 2 unless you have a copy of the Drag A
- Sprite module present in your machine. If this is not shaded then it will
- lead to a submenu from which you will be able to decide whether to drag
- either a sprite or a bounding box during the save operation. Initially this
- is set to Sprites.
-
- I hope you have some use for this application, I have found it invaluable
- when I have been generating desktop applications as it has allowed me to cut
- down my program development time as I now simply extract the procedures and
- functions that I require a lot quicker that I did before
-
-
- Paul Adams 1993.
-
-
- Known problems that are currently being worked on....
-
- The only known problem to date is in showing the listings for long (?)
- procedures and functions that occur at the end of VERY long programs (130K
- plus at least), the last few lines do not appear. However, these lines are
- not lost when you save the procedures or functions to disc so there is no
- need to panic. I hope to have this slight problem corrected soon....