Top-rated recipes tagged "goto"http://code.activestate.com/recipes/tags/goto/top/2010-05-27T13:44:00-07:00ActiveState Code RecipesThe goto decorator (Python)
2009-11-03T13:14:57-08:00Carl Cereckehttp://code.activestate.com/recipes/users/4172182/http://code.activestate.com/recipes/576944-the-goto-decorator/
<p style="color: grey">
Python
recipe 576944
by <a href="/recipes/users/4172182/">Carl Cerecke</a>
(<a href="/recipes/tags/bytecodes/">bytecodes</a>, <a href="/recipes/tags/decorator/">decorator</a>, <a href="/recipes/tags/goto/">goto</a>).
Revision 5.
</p>
<p>A function-decorator that provides the goto command.</p>
Go to nth character (JavaScript)
2010-05-27T13:44:00-07:00Glenn Jenkinshttp://code.activestate.com/recipes/users/4174057/http://code.activestate.com/recipes/577246-go-to-nth-character/
<p style="color: grey">
JavaScript
recipe 577246
by <a href="/recipes/users/4174057/">Glenn Jenkins</a>
(<a href="/recipes/tags/character/">character</a>, <a href="/recipes/tags/goto/">goto</a>, <a href="/recipes/tags/komodo/">komodo</a>).
</p>
<p>Pops up a dialogue box to ask you for a character number (position), validates it, then moves the cursor to the character at that position in the current document.</p>
<p>Useful for eg a SQL statement where you have an "error at character 3456"</p>