Home AMX User Forum NetLinx Studio

CANCEL_WAIT question

Hello all, I'm new to the forums as well as to the programming world. I've only completed my programmer 1 class a few months ago, and I'm now working on my 3rd real world project. I have a question about the CANCEL_WAIT command. Can I use that command to cancel more than one named WAIT ? or would I have to write out each one ?

CANCEL_WAIT 'Movie 1'
CANCEL_WAIT 'Movie 2'
CANCEL_WAIT 'Movie 3'

Is there a way to write it all in one line ? any help would be appreciated, thanks !

Comments

  • Joe HebertJoe Hebert Posts: 2,159
    Pan AVCO wrote: »
    Can I use that command to cancel more than one named WAIT ? or would I have to write out each one ?

    CANCEL_WAIT 'Movie 1'
    CANCEL_WAIT 'Movie 2'
    CANCEL_WAIT 'Movie 3'

    Is there a way to write it all in one line ? any help would be appreciated, thanks !
    If you consider this one line then the answer is yes:
    CANCEL_WAIT 'Movie 1'  CANCEL_WAIT 'Movie 2' CANCEL_WAIT 'Movie 3'
    

    I assume that's not really what you mean so the answer is no.
  • There's CANCEL_ALL_WAIT, but that cancel's everything, named or not.

    Kevin D.
  • Joe Hebert wrote: »
    If you consider this one line then the answer is yes:
    CANCEL_WAIT 'Movie 1'  CANCEL_WAIT 'Movie 2' CANCEL_WAIT 'Movie 3'
    

    I assume that's not really what you mean so the answer is no.

    Haha, ok, thanks guys.
Sign In or Register to comment.