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,580 of 2,978   
   Jochen to All   
   Re: Binary databases   
   22 Dec 07 15:22:05   
   
   From: jotel99@hotmail.com   
      
   hi!   
      
   Joe typed:   
      
   > assign(person, 'path\?');   
   > rewrite(person);   
   >   
   > recnum:= filesize(person); // This all ways starts at 0. No matter if   
   >                                there is 1 record in it or not.   
      
   there cannot be a record in it!   
   rewrite creates a new empty file. so of course it has 0 records.   
   please read the help about working with files: rewrite, reset, append,   
   filemode and so on i mean.   
      
   > if (recnum = 0) then goto ?; //Then I miss the first record.   
   >   
      
   Does that help?   
   greetz   
   Jo   
      
   --   
   http://radio789.net.ms - Radio 789 - We play it ALL   
   Radiostream: http://stream789.net.ms   
      
   --- 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