[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: how to or could I ?

  • Thread starter Thread starter marian.edu
  • Start date Start date
Status
Not open for further replies.
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...
 
Status
Not open for further replies.
Back
Top