Skip to content

Line number in MODIFY CLASS .. METHOD #12

Open

Description

@lscheffler

MODIFY CLASS accept a line number (This is what the codereference uses)

MODIFY CLASS ClassName [OF ClassLibraryName1]  [AS cBaseClassName
    [FROM ClassLibraryName2]] [NOWAIT]
    [METHOD MethodName[,Line_No]] [SAVE]

Where Line_No is the line number.

  • opens METHOD MethodName at line Line_No
  • no number equals 1
  • number greater then last line goes to last line
  • non number stops with error 12

Activity

  1. lscheffler commented on Jun 24, 2022

    @lscheffler
    Author

    Resorting NOWAIT clause, so declaration fits to parameters list

  2. added a commit that references this issue on Jun 24, 2022
    02fb49e
  3. ToniKoehler commented on Oct 26, 2026

    @ToniKoehler

    @lscheffler
    Hi Lutz,
    the resorting of NOWAIT in your PR is broken.
    NOWAIT must be placed before "METHOD MethodName", otherwise it will be ignored.

    See NOWAIT topic: "be sure to place NOWAIT before the METHOD clause or NOWAIT will be ignored. "

  4. added a commit that references this issue on Oct 26, 2026
  5. lscheffler commented on Oct 28, 2026

    @lscheffler
    Author

    @ToniKoehler
    Looks like you have done a lot of work! Thank you.

    Is this work finished so far? I can create the chm file, but not the setup.


    Off topic
    If you commit those UUID based files in a file by file way, it's much more easy to trace the changes. It's a pain to look this up. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions