Jump to content
IGNORED

Basic Analysis tools?


LASooner

Recommended Posts

Other than going through your code by hand to map out paths and loops, does anyone have any tools for analyzing basic code to better visualize it? Perhaps something that takes basic code and generates a flow chart from it?

 

I've looked online and it seems there are tools that do this for C, Python, Java etc, but nothing for good old fashioned Basic code.

 

 

  • Like 1
Link to comment
Share on other sites

On an old disk I have named XB*TOOLS there's a program called REFERENCE. Others I have are CREF, XREF and CROSSREF. Only two use the same number of sectors on the disk, which means at least three of these are different programs with a similar goal. Save your program in Merge and run it through one of these and get a list that may be just what you're looking for. Another XB program called COMPRESS will shorten and squeeze things down in several ways.

-Ed

Edited by Ed in SoDak
  • Like 3
Link to comment
Share on other sites

On an old disk I have named XB*TOOLS there's a program called REFERENCE. Others I have are CREF, XREF and CROSSREF. Only two use the same number of sectors on the disk, which means at least three of these are different programs with a similar goal. Save your program in Merge and run it through one of these and get a list that may be just what you're looking for. Another XB program called COMPRESS will shorten and squeeze things down in several ways.

-Ed

 

I think I found the first disk, I'll give it a look

 

http://ftp.whtech.com/emulators/pc99/pc99%20dsk%20collection/Numbered/1900/XB-TOOLS.ZIP

 

thanks!

  • Like 2
Link to comment
Share on other sites

That looks handy. Thanks, Ed.

 

I would not mind something to analyze Tidbit source. I have had to go back through and look for orphaned labels. I guess I could modify Matt's original PHP to give a listing of unused labels.

Link to comment
Share on other sites

That disk should fix you up! Reference seems the most full-featured and that same disk has the Compress program as well. Note that Compress, depending on the options you select, can change the "look" as well as size of your program dramatically, so be sure to keep an unmodified copy.

-Ed

Link to comment
Share on other sites

Airshack. You have a point. It is taken. I was a dick in that reply so let me offer this mulligan with appologies to a displaced Okie.

 

LA. Your question sounded like you were looking for a way to avoid putting in the time and effort required to program. That was the basis for my millenial question. It was ,in my experience, a question a millenial would ask and believe me I have had a lot of experience with that group of retarded, phone worshiping monkeys.

 

My "brain" statement stands as is. There is only one thing that trumps your mental power to solve problems. It's persistance or staying power or tenacity or whatever the hell you want to call it. It can be frustrating and difficult sometimes. A lot like life in general.

 

For pete's sake it's ti BASIC which was purposly designed to be easy and intuative. Do you really need a bunch of time and effort sinking tools. I see that (for right or wrong) as a give up.

 

It's hard and it's suposed to be. Otherwise every forum happy whore (not you) would actually be producing things. Embrace the pain my sooner from another moother (doesn't rhyme I know.) Makes you better in the long run and one of those that actually did something to completion (you have I know and I'm sure you will again.)

 

I'm sorry I said some things that got you butt hurt. I'm a bit abrasive and plain speaking but I don't lie and don't like people giving up or giving in.

 

Stress, fear and pain are wonderful motivators. Use em for all they provide.

Link to comment
Share on other sites

Why is this thread happening? You said your peace the first time. Got it. There are logic flow analyzers for most every other programming language and I was just asking if anyone (not you specifically) had anything like that for Basic, and that makes me some sort of asshole in your eyes, fine. I really wish Airshack had left it alone.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...