help with vb

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fifi
    New Member
    • Dec 2006
    • 1

    help with vb

    hi please can someone help........... ............... .....my son is going out of his mind with vb its his first taste of it and is scared he will fail his first task........... .he has to make a picture of a frog jump twice he has manged it once but can not get it to jump twice any ideas??????
  • spider1916
    New Member
    • Sep 2006
    • 9

    #2
    Originally posted by fifi
    hi please can someone help........... ............... .....my son is going out of his mind with vb its his first taste of it and is scared he will fail his first task........... .he has to make a picture of a frog jump twice he has manged it once but can not get it to jump twice any ideas??????

    hi

    well, it's hard to give any advise without some info..........
    copy the code and post it so everyone can atleast take a look.
    someone is bound to spot the problem and reply with a selution.

    but........from the top of my head i would suggest husing a counter and a loop.

    counter is intiger set to 0
    begin a loop checking the counter

    *****

    counter = 0

    for counter = 0 to 2

    make the frog jump
    when frog jumps add 1 to counter to show how many times it has jumped
    counter = counter + 1

    next

    *****

    But i would still suggest you post his code so we can see what the
    problem is.

    regards
    spider1916

    Comment

    Working...