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 Gromeken@iav.com808-737-6499WebDNA Solutionshttp://webdna.net/
Associated Messages, from the most recent to the oldest:
>>>>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 Gromeken@iav.com808-737-6499WebDNA Solutionshttp://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:
Multiple Pulldowns (1997)
Summing fields (1997)
Sku numbers (1997)
Server IP address (2004)
A simple email page? (1999)
WCS Newbie question (1997)
PCS Frames (1997)
Help Please WebDNA 6 Secure Forms Problem (2004)
Re[2]: when is failing to [URL]ize values in a comparison ri (1999)
japanese characters (1997)
WebCat Documentation (was [platform] tag?) (1998)
Using a database with a short url (2000)
MacAuthorize and WebMerchant (1997)
WebCat2 beta 11 - new prefs ... (1997)
[ModDate] & [ModTime] ? (1997)
Questions To Answer (1997)
[search] and [shownext] Problem (2000)
Further tests with the infamous shipCost (1997)
WC2b15 File Corruption (1997)
WebCat2 several catalogs? (1997)