Re: READFILE command?

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16211
interpreted = N
texte = >>>>Could someone help me find the command(s) needed to read in the lines of >a >>>>file one line at a time. >>> >>>There is no mechanism for reading files one line at a time; I guess you >could treat the file as a database with just one field, and pull it in that >way. >> >>...making sure to end each line with a real carriage return instead of >using a soft-wrapped block of text ... :) > >I think this is a legitimate request, as there are a lot of companies that >still (believe it or not) use UNIX accounting systems that only output as >fixed-format files, and we still need the ability to use these files to >update or replace our product databases on a regular, scheduled basis... I use Panorama all the time to deal with these UNIX files. But I don't have to, because WebCat's [getchars] context will extract the correct string of characters from a UNIX record without my Panorama pre-processing.Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://webdna.net/ Associated Messages, from the most recent to the oldest:

    
  1. Re: READFILE command? (grichter@panavise.com (Gary Richter) 1998)
  2. Re: READFILE command? (Jay Van Vark 1998)
  3. Re: READFILE command? (Grant Hulbert 1998)
  4. Re: READFILE command? (Kenneth Grome 1998)
  5. Re: READFILE command? (Brian B. Burton 1998)
  6. Re: READFILE command? (Kenneth Grome 1998)
  7. Re: READFILE command? (Grant Hulbert 1998)
  8. Re: READFILE command? (grichter@panavise.com (Gary Richter) 1998)
  9. READFILE command? (Steve Rosenbaum 1998)
>>>>Could someone help me find the command(s) needed to read in the lines of >a >>>>file one line at a time. >>> >>>There is no mechanism for reading files one line at a time; I guess you >could treat the file as a database with just one field, and pull it in that >way. >> >>...making sure to end each line with a real carriage return instead of >using a soft-wrapped block of text ... :) > >I think this is a legitimate request, as there are a lot of companies that >still (believe it or not) use UNIX accounting systems that only output as >fixed-format files, and we still need the ability to use these files to >update or replace our product databases on a regular, scheduled basis... I use Panorama all the time to deal with these UNIX files. But I don't have to, because WebCat's [getchars] context will extract the correct string of characters from a UNIX record without my Panorama pre-processing.Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://webdna.net/ Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Template Cache problem (2000) WebCat2b13MacPlugIn - More limits on [include] (1997) WebCat2 Append problem (B14Macacgi) (1997) WC2.0 Memory Requirements (1997) Quit revisited (1997) Include vs. lookup? (1998) Re1000001: Setting up shop (1997) This is a Test, sorry (1999) [movefile] (1999) Shopping cart not being assigned (1999) browser info.txt and SSL (1997) WebCat2 - [format thousands] (1997) [OT] Connect to MySQL (2004) listfiles-looking for slick solution (1997) bug in listwords? (1998) [append] vs. [appendfile] delta + question? (1997) Windows-based Code Editor (2002) keep W* in front applescript? (1998) 2nd WebCatalog2 Feature Request (1996) FoundItems Question (1998)