Multiple Commands, one line

Help
2013-02-11
2013-05-30
  • Chuck Hellebuyck

    Is there a separator character that will allow me to put more than one command on a single line?
    i.e. (using : as the separator)

    for cnt = 1 to 4 : portb = cnt : next

    or for tables

    Table music : 440 : 464 : 490 : 525 : 550 :  end table

     
  • Keith

    Keith - 2013-02-11

    Well, a full colon as you have shown works fine for me…

    as in.

    Set LED_2 Off:Pause_50:button_test

    There are 3 instructions on 1 line above.

    Hope this helps

     
  • Chuck Hellebuyck

    I must have done something wrong because now its working for me too.
    But apparently table won't work this way correct?

     

Log in to post a comment.