comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: byte offset in POINT_LUN
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: byte offset in POINT_LUN [message #55269 is a reply to message #55267] Wed, 08 August 2007 13:05 Go to previous message
Josh is currently offline  Josh
Messages: 21
Registered: June 2007
Junior Member
On Aug 8, 2:03 pm, Josh <joshuamonta...@gmail.com> wrote:
> as i'm cruising through, reading a large ascii file, I'd like to keep
> track of the beginning of certain "blocks" of code. in the event that
> i find what i'm looking for within the block, I'd like to PRINTF the
> entire block (the beginning of which is now above my file position).
> I've used POINT_LUN to return to the start of a file before, by
> setting position=0, but is there a way I can use POINT_LUN to go to a
> specific line within the file (since I'm not sure how that would
> correspond to a byte offset) ?


sorry, where I said ".... certain 'blocks' of code," I meant "....
certain 'blocks' of text." That is, the data in the file (which are
in ascii format).
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Use IDL6.0 to read gcc3.4(Mingw32) written data
Next Topic: Re: Transforming a nonlinear equation

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 05:36:49 PDT 2025

Total time taken to generate the page: 0.47988 seconds