Jump

Description

Jumps to any location in a file. If you use ”E” as the second parameter, Jump will seek to the end of the file.

Note

If the file is opened for writing, the Jump command will automatically extend the file if addr specified is larger than the file size. This is useful for pre-allocating a file to reduce delays during writing.

Important

If the file is extended, the data beyond the end of the file is undefined, so care must be taken to ensure your data is terminated properly.

You can use this command in junction with the Truncate command to pre-allocate then truncate the file.


Format

J fh addr|E


Parameters

  • fh is a file handle (1 - 4). Use the Free Handle command to get a free file handle.
  • addr is the position to which you want to jump/seek.
  • E can be used to jump to the end of the file.

Response Format

NULL | Enn


Example

To jump to byte position 2000 in file handle 1:

J 1 2000

To jump to the end of file handle 2:

J E 2

  • Bookmark at
  • Bookmark "Jump" at del.icio.us
  • Bookmark "Jump" at Digg
  • Bookmark "Jump" at Google
  • Bookmark "Jump" at StumbleUpon
  • Bookmark "Jump" at Technorati
  • Bookmark "Jump" at Facebook
  • Bookmark "Jump" at Twitter
  • Bookmark "Jump" at Slashdot
  • Bookmark "Jump" at Yahoo! Bookmarks
  • Bookmark "Jump" at Furl
  • Bookmark "Jump" at Reddit
  • Bookmark "Jump" at Ask
  • Bookmark "Jump" at BlinkList
  • Bookmark "Jump" at blogmarks
  • Bookmark "Jump" at Ma.gnolia
  • Bookmark "Jump" at Netscape
  • Bookmark "Jump" at ppnow
  • Bookmark "Jump" at Rojo
  • Bookmark "Jump" at Shadows
  • Bookmark "Jump" at Simpy
  • Bookmark "Jump" at Socializer
  • Bookmark "Jump" at Spurl
  • Bookmark "Jump" at Tailrank
  • Bookmark "Jump" at Live Bookmarks
  • Bookmark "Jump" at Wists
  • Bookmark "Jump" at Yahoo! Myweb
  • Bookmark "Jump" at BobrDobr
  • Bookmark "Jump" at Memori
  • Bookmark "Jump" at Faves
  • Bookmark "Jump" at Favorites
  • Bookmark "Jump" at Newsvine
  • Bookmark "Jump" at myAOL
  • Bookmark "Jump" at Fark
  • Bookmark "Jump" at RawSugar
  • Bookmark "Jump" at LinkaGoGo
  • Bookmark "Jump" at Mister Wong
  • Bookmark "Jump" at Wink
  • Bookmark "Jump" at BackFlip
  • Bookmark "Jump" at Diigo
  • Bookmark "Jump" at Segnalo
  • Bookmark "Jump" at Netvouz
  • Bookmark "Jump" at DropJack
  • Bookmark "Jump" at Feed Me Links
  • Bookmark "Jump" at funP
  • Bookmark "Jump" at HEMiDEMi
ummc/documentation/command/jump.txt · Last modified: 2009/10/27 19:51 by bhagman
Valid CSS Recent changes RSS feed Valid XHTML 1.0