How to remove items from the end of WAIT statemenet

  • Hi,
    I started to modify my WAIT statement and ended up with some garbage at the end of it that I have no idea how to get rid of.


    Basically I want something like:


    Code
    WAIT ( (DI[101] AND DI[102] AND DI[103]) OR (DI[104] AND DI[105) )


    but somehow I ended up with:


    Code
    WAIT ( (DI[101] AND DI[102] AND DI[103]) OR (DI[104] AND DI[105) ... AND ...(((...)))AND)))...)


    Now, my actual WAIT statement is much longer than the example above that's why I don't want to re-type it if I don't have to.


    The question is, how can I delete the garbage from the end?


    Thanks,
    Tom

  • AD
  • Wow, finally got it.


    Code
    ... AND ...(((...)))AND)))...)


    If anyone else has a similar problem, you just have to cursor to the '...' or '(' that you want to delete and press F4 CHOICE.
    Only then a soft key F2 DELETE appears. Press it to get rid of unwanted instruction or place holder.


    All that time when pressing CHOICE I was looking at the popup menu and wasn't paying attention to the soft keys.


    Tom

  • I was playing around with some changes the other day and when I accidentally added another "AND ... ... ..." I found it easiest to highlight the "AND" and hit F4 for "CHOICE" and just select "FOREVER" and it'll delete the line and go back to the way it was before.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now