Re: c4gl Core Dump
Posted in 1991
> > The following 4gl code will cause the c4gl compiler to core dump. It > appears as though it doesn't like the variable name "startcol" because > if you change it to something like "xstartcol" it compiles fine. It is > also interesting to note that the RDS compiler has not problems with it. > > > main > define startcol smallint > open window xwin at 10,startcol > with 2 rows, 40 columns > end main > > ------------------------------------------------------------------------- > Dan Wooster Bob Jones University > uunet!bjudev!dwooster Greenville, SC 29614 > ------------------------------------------------------------------------- > Apparently, the parser in the C4GL compiler doesn't like identifiers that start with reserved words (start, in this case). The only suggestion I have is to avoid starting any identifier with reserved words. -- David E. Brooks Jr E-Mail: brooks@disk.UUCP ManGen Software Incorporated or uunet!coplex!disk!brooks 13208 Urton Lane "Hackers make programs work, but Louisville, Kentucky 40243 Programmers know why they work."