www.kxcad.net Home > Electronic Index > Altium(Protel) Index
The SimCode language uses the semicolon character " ; " to mark the end of a SimCode statement.
In SimCode, a statement may occupy a single line of code, or take up several lines. The termination character marks the termination of the complete SimCode statement and is placed immediately after the last clause of the statement, as shown in the following examples:
DELAY Q1 Q2 Q3 Q4 = 10n;
DELAY Q QN =
CASE (TRAN_LH) : tplh_val
CASE (TRAN_HL) : tphl_val
END;
data = (E0_1 && (CHANGED(D0) || CHANGED(D1)));
DELAY Q1 Q0 =
CASE (data && TRAN_LH) : tplh_D_Q
CASE (data && TRAN_HL) : tphl_D_Q
CASE (TRAN_LH) : tplh_E_Q
CASE (TRAN_HL) : tphl_E_Q
END;