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

EXTENT in method definition raises an error #96

Closed
eglekaz opened this issue Oct 14, 2024 · 0 comments
Closed

EXTENT in method definition raises an error #96

eglekaz opened this issue Oct 14, 2024 · 0 comments

Comments

@eglekaz
Copy link

eglekaz commented Oct 14, 2024

Example:

method public char extent 4 parseSomething(pcOrigString as char):
    def var i as int no-undo.
    def var iCount as int no-undo.
    def var cCodes as char extent 4 no-undo.

    iCount = num-entries(pcOrigString).
    do i = 1 to iCount:
        cCodes[i] = upper(trim(entry(i, pcOrigString))).
    end.

    return cCodes.
end method.
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