From WikiChip
Difference between revisions of "mirc/commands/continue"
< mirc‎ | commands

(Created page with "The ''/continue command''' lets you jump to the beginning of the current loop - not to any other loops enclosing it. == Synopsis == /continue == Switches == None == Parame...")
(No difference)

Revision as of 21:27, 1 December 2013

The /continue command' lets you jump to the beginning of the current loop - not to any other loops enclosing it.

Synopsis

/continue

Switches

None

Parameters

None

Example

Alias Example {
  var %a = 1
  ;count form 1 to 10
  while (%a <= 10) {
    ;echo -a %a
    inc %a
    ;if its odd, skip it
    if ($v1 !& 1) continue 
    ;echo even number
    echo -a %a
  }
}

Will generate the following output

2
4
6
8
10

Compatibility

Added: mIRC v5.7

Added On: 02/02/2000

Note: Individual switches were not taken into consideration.

See also