We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Brauche Hilfe beim Warten auf Tastendruck
#2
Hello.  Shy

First, you need to add a pause of about 50 milliseconds to the "While" loop.

I will continue to study the rest.

Secondly, your "OnButtonClicked" event handling routine does a lot of work.

Moreover, this subroutine calls the second subroutine, which waits for the third subroutine to execute.

I believe that before you start writing PROGRAM CODE, you should create a DIAGRAM that shows the PROGRAM LOGIC.

Programming is the process of CREATING the LOGIC of a future program.
Writing code is just CODING.

Shy

I suggest you create a diagram and start discussing it on our forum. When you see your diagram, then you can easily write the correct code.
Reply


Messages In This Thread
RE: Brauche Hilfe beim Warten auf Tastendruck - by AbsoluteBeginner - 04-12-2025, 07:39 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)