Project

General

Profile

Bug #2473

ENABLE/DISABLE by themselves don't define frames (but they do add to them if the frames otherwise exist)

Added by Greg Shah over 11 years ago. Updated over 11 years ago.

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

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:

History

#1 Updated by Greg Shah over 11 years ago

Consider these cases:

Case 1

DISABLE ALL WITH FRAME no-frame.

4GL compile listing:

disable_no_frame.p                    01/02/2015 18:59:38   PROGRESS(R) Page 1   

{} Line Blk
-- ---- ---
      0     DISABLE ALL WITH FRAME no-frame.

disable_no_frame.p                    01/02/2015 18:59:38   PROGRESS(R) Page 2   

     File Name       Line Blk. Type   Tran            Blk. Label            
-------------------- ---- ----------- ---- --------------------------------
disable_no_frame.p      0 Procedure   No

Case 2

ENABLE ALL WITH FRAME no-frame.

4GL compile listing:

enable_no_frame.p                     01/02/2015 19:01:27   PROGRESS(R) Page 1   

{} Line Blk
-- ---- ---
      0     ENABLE ALL WITH FRAME no-frame.

enable_no_frame.p                     01/02/2015 19:01:27   PROGRESS(R) Page 2   

     File Name       Line Blk. Type   Tran            Blk. Label            
-------------------- ---- ----------- ---- --------------------------------
enable_no_frame.p       0 Procedure   No

Case 3

display "what" with frame f-what.
disable all with frame f-what.

4GL compile listing:

disable_real_frame.p                  01/02/2015 18:58:41   PROGRESS(R) Page 1   

{} Line Blk
-- ---- ---
      1     display "what" with frame f-what.
      1     disable all with frame f-what.

disable_real_frame.p                  01/02/2015 18:58:41   PROGRESS(R) Page 2   

     File Name       Line Blk. Type   Tran            Blk. Label            
-------------------- ---- ----------- ---- --------------------------------
disable_real_frame.p    0 Procedure   No                                    
    Frames:  f-what

Case 4

display "what" with frame f-what.
enable all with frame f-what.

4GL compile listing:

enable_real_frame.p                   01/02/2015 19:02:45   PROGRESS(R) Page 1   

{} Line Blk
-- ---- ---
      1     display "what" with frame f-what.
      1     enable all with frame f-what.

enable_real_frame.p                   01/02/2015 19:02:45   PROGRESS(R) Page 2   

     File Name       Line Blk. Type   Tran            Blk. Label            
-------------------- ---- ----------- ---- --------------------------------
enable_real_frame.p     0 Procedure   No                                    
    Frames:  f-what

Currently our code creates a frame that should not exist (in cases 1 and 2).

Also available in: Atom PDF