Jump to content

Event Structure and While Loop


Recommended Posts

Think data flow.  You enter your loop it reads the value of boolean as false, and stop as false and then sits and waits forever for a menu selection to occur.  Turn on highlight execution and you'll see that there is no data flow.  So changing the value of controls is fine, but you are never actually reading those values.  An easy solution which avoids the whole "why are we doing this?" question is to just set a timeout on that event structure of something like 100ms.

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.