Matthew Davies a �crit :
> 
> Hi List,
> 
> I have a quick question if anyone has time to respond.
> 
> I would like to know how to search a file for a line beginning with some
> id number, and then to extract that line and read each item into a
> separate variable name.

open file thefile for read
read from file thefile until eof
put it into theread
get lineoffset("#" & some id number & the itemdel,theread)
close file thefile

or

get lineoffset("#" & some id number & the itemdel,url thefile)


where "#" is used as the line begining delimiter.

> 
> Many thanks
> 
> --
> * Matthew L. Davies        *
> * Nonlinear Kinetics Group *
> * ------------------------ *
> * School of Chemistry      *
> * University of Leeds      *
> * LEEDS. LS2 9JT. UK       *
> * TEL: (0113) 233 6489     *
> 
> Archives: http://www.mail-archive.com/[email protected]/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.

-- 
Pierre Sahores

WEB & VPN applications & databases servers
Inspection acad�mique de Seine-Saint-Denis
Qualifier & produire l'avantage comp�titif

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to