DEBUGIN multiple values

Hello all,
It has been a while since I had gotten a chance to play with my stamp.
As usual I find myself searching and finding no direct answer to my question.

I am trying to find out if you can set multiple values in one go using DEBUGIN command.

Example:

Time1 VAR NIB
Time2 VAR NIB
DEBUG "Set Time1 and Time2"
DEBUGIN DEC1 Time1

This would only write data to the "Time1" variable. Is it possible to write a statement that could write data to both "Time1" and "Time2" variables?
Like when you set a date using the following format MM/DD/YY it would set three variables

Thank you
Dr. Vetter

Comments

  • 3 Comments sorted by Date Added Votes
  • Mike GreenMike Green Posts: 22,417
    edited May 12 Vote Up0Vote Down
    Yes you can. DEBUGIN is just a modified version of the SERIN statement.

    You could write: DEBUGIN DEC Mon,DEC Day,DEC Year

    Note that there has to be some non-numeric delimiter following each value. This could be "/" so
    05/10/2017<cr> would be acceptable for the values 5, 10, and 2017. The delimiter itself is discarded.
  • Thank you Mike,

    Even after all these years you are still my #1 when it comes to getting me back on track. You are very knowledgeable :D

    Dr. Vetter
  • I looked it up in the Reference Manual. It's full of explanations and examples.
Sign In or Register to comment.