Re: Reading a file with 4GL
Posted in 1997
BellSouth wrote: > Does anyone know how to read data from a text file into a 4GL program? > > I want to read data from a configuration file and initialize some > program variables. > > Thanks in advance, > Mike Unless you like the temp table approach mentioned earlier, I'd say just write a simple C function to do it for you. Just remember though, there is a 512 character limit on passing variables in 4GL, as well as the fact that it passes entire strings, not just pointers (could be a severe performance hit if the file is very large). -- - Danny Wright danwright@bigfoot.com #include <stddisclaimers.h> * God is real, unless declared as an integer. * Why do programmers get Halloween and Christmas mixed up? Because 0CT(31) == DEC(25) * I'd love to change the world, but I can't get into the source code. * /nev/dull