Skip to content

org.prorefactor.refactor.RefactorException: unexpected token SEEK #2

@ccleaud

Description

@ccleaud

Hello,

I encounter an exception while ProParsing file with build 1128.
Can you fix this please?
Thanks a lot.

Kind regards,
Cyril CLEAUD


DEFINE VARIABLE gcLine                AS INTEGER NO-UNDO.
DEFINE VARIABLE gcSomething           AS INTEGER NO-UNDO.

DEFINE STREAM myStream.

INPUT STREAM myStream FROM VALUE("a-file.txt").
REPEAT:
    IMPORT STREAM myStream UNFORMATTED gcLine.
    gcSomething = SEEK(STREAM-HANDLE STREAM myStream:HANDLE).   /* <-- this line causes exception in proparse */
END.
INPUT STREAM myStream CLOSE.

RETURN "".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions