[Gambas-devel] Functions and subs
Ron
ron at ...572...
Tue Dec 8 12:21:24 CET 2009
While checking my large codebase I have noticed that I had some routines
of type SUB that returned something (SUB blabla () AS String etc) and I
have FUNCTIONS who don't return anything.... (ie no RETURN xxx or AS xxx
defined). Which is wrong of course.
I believed somewhere in history the IDE/Compiler checked this and warned
the programmer about it, or am I wrong?
If not it doesn't seem to do that anymore....
Gambas 2.18.0
gb.qt
Regards.
Ron_2nd.
More information about the Devel
mailing list