Thanks guys.
I looked at a similar function statement, "INTRDEF". Intrdef will accept either the function # or the function name.
Both formats are acceptable to the compiler:
INTRDEF 1, Accumulate, 1
or
INTRDEF 1, 4, 1 ' 4 is the function number
If I use an invalid function name, the compiler does fail and returns a error message that is useful. This is a very good thing!!!
I think that the same parsing rules that you are using for INTRDEF could be applied to the parsing of HSDCEF statement.
Best regards,
Gary D.