Chaddaï Fouché schreef op 20-2-2015 om
13:40:
Thanks all,
Then I have to think about the cases.
There are two cases which can fail. One is that the input is not the
format Char Int [Char] and one is that the first Char is not a I, W
or E.
Is it wise to make on case of it. in pseudo-code
!Errcode.isChar and !Errnumber.isInt and !ErrorText.isChar and
Errcode !="W" and Errcode !="I" and Errcode != "E" -> Unknown
"This is not in the right format"
ErrorText = "I" -> "( Info + ) " + Errcode + " " " + ErrText +
"""
Roelof