M
marian.edu
Guest
Hahaha, you mean like this ’strongly type’ compile time check? FUNCTION test RETURNS CHARACTER (OUTPUT prm AS CHARACTER): prm = STRING(TODAY). RETURN prm. END FUNCTION. DEF VAR prm AS CHARACTER INITIAL 'toto'. MESSAGE test(prm) SKIP prm VIEW-AS ALERT-BOX. The fact that the compiler doesn’t do the same compile time parameter check for procedures (even for internal ones) still doesn’t make it right… otherwise everyone will use only functions to avoid runtime surprises
Marian Edu Acorn IT www.acorn-it.com www.akera.io +40 740 036 212
Continue reading...
Continue reading...