David Swindon in the Skype chat has discovered that 13630 and 13622 silently fail whan a function is called as a procedure.
In the following test code test 2 compiles with a warning but fails to run. All others run.
I created this test code that only Asserts on failure. You will need Debug On or Asserts=>on. It also checks that the return value works, and calling a procedure without a return value still happens.
That is scary. I can’t update to 11.1.xxx because I rely on Andy’s ClarionTools and he has bene unable to make them work with v 11.1.xxx. Wat was the last 11.0.xxx version? Maybe I can get that download?
11630 is fine as long as you fix the code so you don’t get that warning. You can change all the calls with the warning by adding Junk#=BlargFunction() so it is a function call. Or change the Procedure prototype by adding PROC on all APPs that get the warning.
— Clarion 11.1.13744 June 4, 2021 ----- Fixes/Changes/Features–/
…
FIX: Warning “Calling function as procedure” cancelled the call being made