TypeCobol
TypeCobol copied to clipboard
Procedure/Functions : new features part 2/2
New features for functions and procedures:
- [ ] TCRFUN_TCFUNC_WHERE_COBOL85FUNC_ A custom function can be called as part of any statement where an COBOL 85 intrinsic function call would be acceptable.
- [ ] TCRFUN_OPTIONAL_FUNCTION the
FUNCTION
keyword is optional - [ ] TCRFUN_FUNC_ALLOW_CALL Functions can also be called like a procedure.
- [ ] TCRFUN_FUNC_COMMA_SEPARATOR You need to separate parameters with a comma (
,
).
Check TODO in CobolNodeBuilder.EnterFunctionProcedureDivision