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,655 of 2,978   
   Marco van de Voort to abuse@telia.com   
   Re: Getting a real number from the keybo   
   28 May 05 22:47:02   
   
   From: marcov@stack.nl   
      
   On 2005-05-28, Björn Felten  wrote:   
   >> Maybe he runs his programs from the cmdline.   
   >   
   >     I'm fairly sure he's not run it at all. :)   
   >   
   >> IIRC TP programs don't zero memory, however the IDE does.   
   >   
   >     All "global" variables are located in the EXE file's data segment,   
      
   BSS yes, which is only declared in size in the .EXE. Only CONST is truely in   
   the exe. Together these two make up the data segment at runtime. (though some   
   compilers can put CONST in the code segment, don't know if TP does)   
      
   > so they are always properly initialized (to zero or whatever is proper).   
      
   In Delphi and the TP IDE this is certainly true. I was under the impression   
   this didn't happen outside of the IDE (IOW that the TP IDE or compile for   
   debug did the zeroing, and could be omitted in some cases) , but couldn't   
   duplicate this a few minutes ago. Maybe one of the more regular TP users can   
   chip in on this?   
      
   --- 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