Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!cel.cummins.com!philip From: philip@cel.cummins.com (Philip D. Pokorny) Newsgroups: comp.sys.apollo Subject: Re: name_$read_dir_lc on 10.3 Message-ID: <9106141932.AA00771@cel.cummins.com> Date: 14 Jun 91 19:32:59 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 26 Mark Cutshaw writes: Could someone please look at the above code to try to find out what is wrong. This is exactly what the 'name.ins.ftn' file says to do, but for some reason it gets all blanks for the file names. From the debugger, I know that DIRNAM, DIRLEN, and MAX are all correct and I also know that it returns 42 in MAXR, so it's doing something at least 42 times (which is about the number of files in the directory). By the way, why is the documentation for the NAME_$READ_DIR_LC subroutine different in the 'name.ins.ftn' file from that in the system call reference manual? Which one is correct? Neither? :-) If you check out the name_$extract_data_lc call it mentions that it is explicitly for FORTRAN programs that are using name_$read_dir_lc You might look at /sys/help/calls/name_$intro and /sys/help/calls/name_$extract_data_lc or /sys/help/calls/name_$read_dir_lc. All of which you can get from the DM by using calls/name_$... All of the system call man pages are there in the calls directory if your system administrator installed them... They are REAL handy... :)