JumpToLine command

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Action:

Transfers control to a specified request statement in the Source Code or Daemon page, then executes that statement.

The command's required argument is a number or keyword that indicates the target statement:

jumpToLine [current | number

where:

  • The keyword current specifies a jump to and then execution of the current statement.
  • number may be in one of three forms: nnn | -nnn | +nnn
    • nnn specifies an "absolute jump" to the nnn statement line number in the Source Code or Daemon page display, then an execution of that statement.
    • -nnn or +nnn specifies a "relative jump," jumping the indicated number of statements backward or forward relative to the current (yellow highlighted) line, followed by the execution of that statement.
For example, specifying -1 reruns the statement prior to the current line. +1 skips the current executable statement and executes the one following it.

If you use the command in a macro:

  1. When you specify the jumpToLine command in the macro, explicitly supply its argument (the current keyword or a number to indicate the target line) or specify an argument variable.
  2. Observe the jump validation rules.

If you use the command in a mapped button or hot key:

  1. Do not specify an argument for the jumpToLine command in the mapping; you specify the argument (the current keyword or a number to indicate the target line) in the Entity name input box.
  2. Observe the jump validation rules.

For information about invoking a jump by right clicking a line in the Source Code or Daemon tab, see Altering the flow of execution.

Client menu: --
Introduced: Build 27