|
From: David E. <de...@us...> - 2005-07-24 12:09:39
|
Kevin Monceaux wrote: > Does TinyCobol have the ability to share files between > a main program and called subprograms such that the files > can be opened by the main program and all called subprograms > can access the files? > I just downloaded the latest release of TinyCobol. > If I try to code an FD entry such as: > > FD LOGFILE IS EXTERNAL > LABEL RECORDS ARE STANDARD. > 01 LOGFILE-REC PIC X(80). > > when I try to compile the program htcobol segfaults. > If I remove the "IS EXTERNAL" it compiles without errors. Since it seg-faults, this is a bug. I did not work on this portion of the compiler, so I do not know if the 'EXTERNAL' file clause was ever fully implimented. This has been a problem since version 0.55, or prior. So it is not specific to version 0.63. |