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,274 of 2,978   
   Jason Burgon to Jason Burgon   
   Re: Const and Exit Problems   
   04 Feb 05 03:52:59   
   
   From: gvision@ntlworld.com   
      
   "Jason Burgon"  wrote in message news:BiCMd.2752   
      
   > The result evaluates to an initialised value, not a constant. Borland made   
   a   
   > bad choice when they made "const" the reserved word for defining   
   initialised   
   > values. If you make Manifest at true contant:   
   >   
   > const   
   >   Manifest = 1234;   
   >   
   > Then it will work.   
   >   
   >   Man2: Integer = Manifest + $09;   { Works! }   
   >   
   > OR   
   >   
   >   Man2: Manifest + $09;   { Works! }   
      
   Oops. The second one should have been:   
      
     Man2 = Manifest + $09;   { Works! }   
      
   --   
   Jay   
      
   Author of Graphic Vision   
   http://homepage.ntlworld.com/gvision/   
      
   --- 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