Reply To: PDL compile error

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf PDL compile error Reply To: PDL compile error

#58083
Anonymous
Participant

    Doug,

    I don’t see any way to add to the list of named character classes.  However, you have a couple of choices to make it work anyway.

    You could remove the beginning character from the pdl phrase and write a prewrite TPS procedure to add that character to the beginning of every message.

    Or, if you want to exercise your PDL skills, you could make the first character a field instead of a character class.  Then you could use TCL within the PDL to put a 9b into that field.

    Your phrase would look like:

    define phrase basic-msg;

       field 9b = fixed-array(1, any );

       field data = variable-array( not( ) );

       ; ;

    end phrase;

    Reading this phrase is easy, you don’t need to make any changes.

    To write this phrase you’ll have to add some code to the the write portion of the PDL.  Something like:

       keylset klOutbound 9b

         keylset klOutbound data

        ]

           hci_pd_send basic-msg $klOutbound $continuations