From: msxhans@yahoo.com   
      
   "bradclark1@msn.com" wrote:   
      
   >Sorry for double post.   
   >I'm trying to teach myself pascal and I got hold of a book "Programming   
   >   
   >Your Own Adventure Games In Pascal". It's written in pascal p-code and   
   >I debug often to check for problems. I get these errors and I can't   
   >find if these errors are p-code or ISO pascal errors. As far as the   
   >Comment level 2 errors I looked through the code and there is no   
   >closeing braces for them. I just mystified. Could someone   
   >please give me some advice?   
   >   
   >Thanks,   
   >Brad   
   >=====================================   
   > Error Messages   
   >   
   >   
   >Compiling c:\docume~1\brad\pascal~1\miniad~2.pas   
   >miniad~2.pas(79,4) Warning: Illegal compiler directive $IMINI1   
   >miniad~2.pas(80,4) Warning: Illegal compiler directive $IMINI3   
   >miniad~2.pas(81,4) Warning: Illegal compiler directive $IMAZE1   
   >miniad~2.pas(82,4) Warning: Illegal compiler directive $IMINI2   
   >miniad~2.pas(84) Warning: Comment level 2 found   
   >miniad~2.pas(273) Warning: Comment level 2 found   
   >======================================   
   >   
   >   
   >(*******************)   
   >(* wipe *)   
   >(*******************)   
   > PROCEDURE wipe;   
   > BEGIN   
   > write(chr(ff));   
   > END;   
   >   
   >   
   > (*$imini1.text*)   
   > (*$imini3.text*)   
   > (*$imaze1.text*)   
   > (*$imini2.text*)   
   > (*(*   
   > *)   
   > (***************************)   
   > (* i n t r o d u c t i o n *)   
   > (***************************)   
      
   The compiler directives like $imini1.text are to direct the compiler to read   
   the   
   contents of the file mini1.text as part of the soruce to compile. This is UCSD   
   Pascal I assume, I know the book.   
   The compiler you are using now does have another way of specifying this I   
   suspect.   
   You can run UCSD Pascal if you like on a PC, or as Apple Pascal in an Apple II   
   emulator, see my website for that.   
   Hans, http://www.hansotten.com   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|