Path: utzoo!utgpu!water!watmath!clyde!rutgers!lll-lcc!lll-winken!csustan!polyslo!caus-dp!marcos
From: marcos@caus-dp.UUCP (Marcos R. Della)
Newsgroups: comp.lang.pascal
Subject: TP4.0 strangness
Keywords: the WRITE doesn't work!
Message-ID: <328@caus-dp.UUCP>
Date: 10 Dec 87 16:59:08 GMT
Organization: USPFO for CA - Data Processing Div., SLO, Ca
Lines: 35

Here is a fragment of what I'm having problems with...


TYPE  st = string[255];
      mn_l = ^st;
...

      if i < active^.menu then
         begin
            gotoxy(1,1);
            insline;
	    WRITE(mn_l^);
	    active^.menu := i
	 end
   end;
...

and I am getting an:
Error 113: Error in statment
with the cursor on the W in WRITE. I have tried commenting out both the
statments before and after the WRITE with WRITE being the error every time.
When I changed it to WRITELN, it worked fine, but the WRITE statment bombs
during compilation every time... Any ideas?

I can fix it by using other changes, but this is the most efficient in the
case and its a problem that I'd like to know about...

Oh yea, this code works fine under TP3.0

Marcos Della

-- 
...!csustan ->!polyslo!caus-dp!marcos		    | Whatever I said doesn't
...!sdsu ---/	Marcos R. Della			    | mean diddly as I forgot
...!csun --/	Smail:PO Box 8104 SLO,CA 93403-8104 | it even before finishing
...!dmsd -/	Tele: (805) 544-4900		    | typing it all out!!! :-)