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,512 of 2,978   
   Dr John Stockton to All   
   Re: Pascal Macro Compiler   
   13 Apr 05 22:25:27   
   
   From: spam@merlyn.demon.co.uk   
      
   JRS:  In article , dated Wed, 13   
   Apr 2005 10:52:18, seen in news:comp.lang.pascal.borland, Marco van de   
   Voort  posted :   
      
   >> Borland did not think about the case   
   >>   
   >>          const Mes : set of char = ['W', 'a', 'r', 'n', 'i', 'n','g'] ;   
   >>          begin end.   
   >>   
   >> to be treated as a string.   
   >   
   >Well, count your blessings ;-)   
   >   
   >Whatever you think about the preprocessor, having that syntax _in_ language   
   >would be horrible IMHO.   
      
   The quoted code is compilable in BP7 and D3 (I'd have lined a warning   
   about the duplicate 'n'); but, given 'a'..'z' notation, I don't see that   
   any improvement would be useful often enough to justify Borland making   
   special provision.   
      
   It's easy enough to write a routine to load a string into a set, though   
   more storage would be used.   
      
   The advertisement was deficient in not saying that this software is not   
   free.  The cited page is deficient, though no doubt truthful, in not   
   giving (IIRC) price and delivery information applicable world-wide.   
      
   --   
    © John Stockton, Surrey, UK.  ?@merlyn.demon.co.uk   Turnpike v4.00   MIME. ©   
      TP/BP/Delphi/&c., FAQqy topics & links;   
        RAH Prins : c.l.p.b mFAQ;   
      Timo Salmi's Turbo Pascal FAQ.   
      
   --- 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