[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Implied data conversion (casting) of non-class code

  • Thread starter Thread starter 2087
  • Start date Start date
Status
Not open for further replies.
2

2087

Guest
As Patrick has pointed out this does not apply to FUNCTIONS - which in my opinion is one very good reason to always use FUNCTIONS in preference to PROCEDUREs. A second reason is that incorrect parameters to a FUNCTION is a compile time error, whereas incorrect parameters to a PROCEDURE is run-time error. This doesn't answer your question if you avoid the use of PROCEDURE then you can avoid the whole type conversion in the first place.

Continue reading...
 
Status
Not open for further replies.
Back
Top