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 1,806 of 2,978   
   =?UTF-8?B?QW5kcnplaiBHcmHFvHnFhHNra to All   
   Re: Unit/Uses Scope   
   01 Jul 05 01:03:35   
   
   From: grazynsk@petex.com.pl   
      
   > program foo;   
   >   
   > uses   
   >   testunit;   
   >   
   > begin   
   >   clrscr;  { Because the crt unit is already part of the 'testunit' ??   
   > }   
   >   hello;   
   > end.   
   >   
      
   TESTUNIT unit IS the client of CRT module, but program FOO is not the   
   client of the CRT module. Unless you explicitly put "CRT" into uses   
   clause in program FOO, you cannot call CLRSCR procedure.   
      
   "to be the client of module x" is not transitive relation.   
      
   regards   
      
   Andrew   
      
   --- 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