Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check 59 : condition with corresponding #( ) #1123

Open
AlexandreHT opened this issue Dec 22, 2023 · 0 comments
Open

Check 59 : condition with corresponding #( ) #1123

AlexandreHT opened this issue Dec 22, 2023 · 0 comments

Comments

@AlexandreHT
Copy link
Contributor

Condition with corresponding #( ) triggers a check 59 error.

Test case:

report ztest.

types: begin of type1,
         business_field  type c LENGTH 1,
         technical_field type c LENGTH 1,
       end of type1.

types: begin of type2,
         business_field type c LENGTH 1,
       end of type2.

data(foo) = value type1( business_field = 1
                         technical_field = 1 ).

data(bar) = value type1( business_field = 1
                         technical_field = 2 ).

if corresponding type2( foo ) = corresponding type2( bar ).
  write: 'Equal'.
else.
  write: 'Unequal'.
endif.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant