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

Multiline ASSIGN results in syntax error #89

Open
M0rr155 opened this issue Mar 22, 2024 · 8 comments
Open

Multiline ASSIGN results in syntax error #89

M0rr155 opened this issue Mar 22, 2024 · 8 comments

Comments

@M0rr155
Copy link

M0rr155 commented Mar 22, 2024

When using this Progress code (and we use this a lot), there is a syntax error:

                ASSIGN
                    opcOrderprocessNextProcessCode = bfShpDefM.ProcCde
                    opeOrderprocessNextActionCode  = OrderprocessActionCode:Close
                    .

image

[{
"resource": "/c:/VSCodeW/NextGen/backend/srcNG/WMS/Process/Orderprocess/OrderprocessBusiness.cls",
"owner": "abl-error",
"severity": 8,
"message": "196: ** c:\VSCodeW\NextGen\backend\srcNG\WMS\Process\Orderprocess\OrderprocessBusiness.cls Could not understand line 2210. (196)",
"startLineNumber": 2210,
"startColumn": 21,
"endLineNumber": 2210,
"endColumn": 27
}]

@gquerret
Copy link
Collaborator

And ? That's just an error reported by the compiler.

@M0rr155
Copy link
Author

M0rr155 commented Mar 22, 2024 via email

@gquerret
Copy link
Collaborator

Then it's probably a configuration issue (propath or db connection).

@M0rr155
Copy link
Author

M0rr155 commented Mar 22, 2024 via email

@M0rr155
Copy link
Author

M0rr155 commented Mar 22, 2024

So my problem will be solved when

USING WMS.Enum.*
works with
opeOrderprocessNextActionCode = OrderprocessActionCode:Close

@gquerret
Copy link
Collaborator

Note that you can try this other extension where you may have more information in the log: https://marketplace.visualstudio.com/items?itemName=RiversideSoftware.openedge-abl-lsp

@M0rr155
Copy link
Author

M0rr155 commented Mar 25, 2024 via email

@M0rr155
Copy link
Author

M0rr155 commented Mar 25, 2024 via email

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

2 participants