labels: --> INSPECT, intrinsic, user-defined function
Description has changed:
Diff:
--- old+++ new@@ -1 +1 @@-Bug description: see at https://sourceforge.net/p/gnucobol/discussion/cobol/thread/1e7529dc5d/+Bug description: see [1e7529dc5d], providing sample code as well
Note that when adding the tests to GnuCOBOL the raise of runtime exceptions in case of non-matching sizes also need to be done.
For INSPECT some-func (some-thing) with CONVERTING or REPLACING the compiler would ideally warn that the result is not stored (only counters may be set in the end - note: it is not worth it to then make a no-op out of it because it may still raise runtime exceptions and calling the functions - if they aren't intrinsics - may have side effects as well).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Diff:
Related
Discussion: 1e7529dc5d
Note that when adding the tests to GnuCOBOL the raise of runtime exceptions in case of non-matching sizes also need to be done.
For INSPECT some-func (some-thing) with CONVERTING or REPLACING the compiler would ideally warn that the result is not stored (only counters may be set in the end - note: it is not worth it to then make a no-op out of it because it may still raise runtime exceptions and calling the functions - if they aren't intrinsics - may have side effects as well).