.
.   
NEdit.org
   .

Home
 - News - Download - Documentation - Search - FTP     
.
.
  

COMET marker

[Back]

 

COMET style marker, that is, use:
$comet_mark = "z"
mark("z")
to set the marker, and:
if ($comet_mark == "x")
{
    mark("z")
    $comet_mark = "z"
    goto_mark("x")
}
else
{
    mark("x")
    $comet_mark = "x"
    goto_mark("z")
}
to move between the current position and the marked position.

Two (or more) markers can be used by creating new macro entries using different marker letters and variables, i.e.:

$comet_mark2 = "w"
mark("w")
and:
if ($comet_mark2 == "w")
{
    mark("y")
    $comet_mark2 = "y"
    goto_mark("w")
}
else
{
    mark("w")
    $comet_mark2 = "w"
    goto_mark("y")
}
[Back]

. Released on  Wed, 21 Nov 2001  by C. Denat  

  
Visit our sponsor
Check Metrolink

© NEdit.org
1999-2001
All rights reserved


.