Project

General

Profile

Bug #3596

MESSAGE statement must emit lambda expressions for its components.

Added by Constantin Asofiei almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version:

History

#1 Updated by Constantin Asofiei almost 6 years ago

A MESSAGE statement evaluates its components in order, and terminates this evaluation on first i.e. ERROR condition (silently):

def temp-table tt1 field f1 as int.

function func0 returns char.
   return "aaa".
end.

def var x as int.
find first tt1 no-error.
message x  tt1.f1 x func0().
message "xx".

This shows these messages; note how func0() is never called:

** No tt1 record is available. (91)
0 
xx

Also available in: Atom PDF