home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,275 of 2,978   
   Marco van de Voort to bradclark1@msn.com   
   Re: Pascal p-code and debug   
   21 Sep 06 19:17:47   
   
   From: marcov@stack.nl   
      
   On 2006-09-21, 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?   
      
   Classic TP (and maybe UCSD too) ignored comment openings inside comments. So   
   a close of the matching type ( *) for (*  .) for (. and } for { ) always   
   closed the block.   
      
   Seeing the warnings, this is FPC, try to enable  parameter -So. This strict   
   TP mode will do it like TP, and not require balancing.   
      
   Manually balancing with the above remarks in mind is the other option.   
      
   The TP/FPC/Delphi syntax for include is   
      
   {$i file.extension}   
      
   So it seems UCSD didn't require the space, while FPC does.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca