Thread Links | Date Links | ||||
---|---|---|---|---|---|
Thread Prev | Thread Next | Thread Index | Date Prev | Date Next | Date Index |
Does anyone know of an example of something like a “switch/case” construct in the 802.3 state diagrams? I am looking for an elegant recursive solution that looks like: Switch ( index ) Case 1: do_x Case 2: do_y Case 3: do z, End …. Instead of writing a whole string of if-then-else: If(index = 1) do_x; ELSE If (index = 2) do_y; ELSE If (index = 3) do_z); END George Zimmerman, Ph.D. President & Principal CME Consulting, Inc. Experts in Advanced PHYsical Communications 310-920-3860 To unsubscribe from the STDS-802-3-SPMD list, click the following link: https://listserv.ieee.org/cgi-bin/wa?SUBED1=STDS-802-3-SPMD&A=1 |