Get_Header_Msg
Accepts a string and prints out that whole string as long as that string is less than or equal to than the max MSG Length. This string input and corresponding output is connected to the pseudo PDC ID.
Inputs:
msg | A string indicator to be sent out to another terminal or prompt |
maxMSGLength | A number that determines the size length of the output message |
pseudoPDCID | The ID that corresponds to the source of the information used to differentiate the data, used when data is stream from the same source. |
Outputs:
Msg out | A string that corresponds to the original msg in, can be shorter due to cut of |
Function Return | If the pseudoPDCID transmits a string to the location of the pseudoPDCID then the function return will be 0 else 1 |