Shop OBEX P1 Docs P2 Docs Learn Events
need help on a project — Parallax Forums

need help on a project

boeboyboeboy Posts: 301
edited 2006-09-14 15:22 in BASIC Stamp
hey i had a great idea to make my own conputer i just need some one to check my code and here it is

Post Edited (boeboy) : 9/10/2006 11:59:35 PM GMT

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2006-09-03 13:26
    boeboy said...
    ...i just need some one to check my coed and here it is
    Check your coed?· Check your coed for what?· [noparse][[/noparse]I want to add something naughty, but I mightily resist this temptation.]
  • metron9metron9 Posts: 1,100
    edited 2006-09-04 01:35
    I looked through your COED. You have many subroutines that end with a RETURN however you have no GOSUB or ON GOSUB code that calls the subroutines. I have not used the BUTTON command but from the help file and the example it branches to the address and does not GOSUB to the address so your code for example on line 79 branches to the label ENTER: that ends with a RETURN. Of course a bit can only be 1 or 0 so the RETURN is never executed as I look it seems none of the RETURN statements ever get executed so I don't have a clue why they are there.

    The GOTO hopping around is very difficult to read or make any sense out of at all. No comments make this code a complete disaster.

    Try again by Starting over. Comment the code and eliminate at least 50% of the GOTO code and I will have another look at it.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Think outside the BOX!
  • boeboyboeboy Posts: 301
    edited 2006-09-10 23:48
    ok thanks
  • boeboyboeboy Posts: 301
    edited 2006-09-11 00:01
    sorry i forgot to check my spelling.
  • boeboyboeboy Posts: 301
    edited 2006-09-11 19:56
    Here is the·new·code hope you like it.

    PS.
    I·think that it only has like 3 GOTO's.
  • boeboyboeboy Posts: 301
    edited 2006-09-14 15:22
    And here is the next code.· Will some one tell me what they think abought it?confused.gif
Sign In or Register to comment.