We had the same problem where the INCLUDE file was dropped onto a samba share from source-safe. The fix was to read each program entry in and write it out with a trailing attribute mark. This was a problem for more than includes. Once I did that, everything worked OK.
It was some weird EOF condition. Here is the program I use to fix it: * This program fixes up end-of-item situation that causes universe * compiler to hang on programs. * EQU TRUE TO 1, FALSE TO 0 * FILENAME="OLEDB.INCLUDES" GOSUB FIXFILE FILENAME="OLEDB.PROGRAMS" GOSUB FIXFILE STOP * FIXFILE: * * OPEN FILENAME TO FILE ELSE STOP 201,FILENAME SELECT FILE FINISHED=FALSE LOOP READNEXT ID ELSE FINISHED=TRUE END UNTIL FINISHED DO READ ITEM FROM FILE, ID THEN ITEM<-1>="" LOOP WHILE ITEM NE '' AND ITEM[LEN(ITEM),1] EQ CHAR(254) DO ITEM=ITEM[1,LEN(ITEM)-1] REPEAT WRITE ITEM ON FILE, ID END REPEAT RETURN * END -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kate Stanton Sent: Tuesday, March 04, 2008 8:00 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] INCLUDE weirdo Hi Dennis, Have you solved this? When I have run into trouble with INCLUDE, I have copied the code into my program and compiled. The problem then usually becomes obvious. Have you tried this? Cheers, Kate ----- Original Message ----- From: "Dennis Bartlett" <[EMAIL PROTECTED]> To: <u2-users@listserver.u2ug.org> Sent: Tuesday, March 04, 2008 8:11 PM Subject: [U2] INCLUDE weirdo >I have an INCLUDE statement that brings in code from a snippets file called > SNIPPETS. > > INCLUDE SNIPPETS GIVE.FEEDBACK > > If I compile the compiler hangs as it hits the include statement. > > If I then change it to include from BP > > INCLUDE BP GIVE.FEEDBACK > > it works fine. > > What am I doing wrong? > ------- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/