Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Borland > Re: Binary data...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 15 of 23 Topic 1066 of 1118
Post > Topic >>

Re: Binary databases

by Jim Higgins <invalid@[EMAIL PROTECTED] > Dec 27, 2007 at 03:38 PM

On Thu, 27 Dec 2007 09:09:39 -0500, Joe <joe@[EMAIL PROTECTED]
> wrote:

>Jim Higgins wrote:
>> On Sat, 22 Dec 2007 20:03:44 -0500, Joe <joe@[EMAIL PROTECTED]
> wrote:
>> 
>>> Jochen wrote:
>>>> 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
>>>>
>>> Then you must be talking about some thing else Jo. I don't why it
doing 
>>> it, Your right. When you rewrite a file. It's blank, Theres nothing in

>>> there, How ever. Every time I do add a record to it. The new recordnum

>>> IS 0. and always 0.
>>>
>>> And I don't have the doc's for Vpascal any way. I wish I didn't. Been 
>>> looking for them and I haven't fount them yet
>> 
>> 
>> It strikes me the OP and several responders are not making the
>> distinction between "record number" and "number of records."
>
>Well let me see. I only been programing in pascal for about 2 weeks Jim. 
>And some of the samples that I fount didn't use that option "filepos". 
>Oh, and the manual that I have only has 119 pages in it. So that option 
>isn't even listed in there. How ever I'm still looking for a manual that 
>does.

I wasn't criticizing you... and it's not really im****tant why you
didn't know.  What's im****tant is that you seem to be getting on the
right track.  If I'd seen the earlier posts I'd probably have been
able to be more helpful.

It's really too bad that if you're using Borland Pascal (this being
c.l.p.b) that you don't have the manuals that came with it.  There are
something like 7 inches of them in 9 or so volumes.  Not as good for
the beginning programmer as much earlier versions by Borland, but
very, very helpful.
 




 23 Posts in Topic:
Binary databases
Joe <joe@[EMAIL PROTEC  2007-12-14 16:55:33 
Re: Binary databases
Robert Riebisch <Rober  2007-12-15 20:20:22 
Re: Binary databases
Joe <joe@[EMAIL PROTEC  2007-12-18 12:49:02 
Re: Binary databases
Jim Leonard <MobyGamer  2007-12-18 13:05:33 
Re: Binary databases
Joe <joe@[EMAIL PROTEC  2007-12-18 22:17:41 
Re: Binary databases
"Jochen" <jo  2007-12-19 05:17:45 
Re: Binary databases
"Jason Burgon"   2007-12-19 09:58:51 
Re: Binary databases
Joe <joe@[EMAIL PROTEC  2007-12-20 18:35:12 
Re: Binary databases
"Jochen" <jo  2007-12-22 15:22:05 
Re: Binary databases
Joe <joe@[EMAIL PROTEC  2007-12-22 20:03:44 
Re: Binary databases
"Jochen" <jo  2007-12-23 06:47:49 
Re: Binary databases
Joe <joe@[EMAIL PROTEC  2007-12-23 11:55:52 
Re: Binary databases
Jim Higgins <invalid@[  2007-12-23 23:48:54 
Re: Binary databases
Joe <joe@[EMAIL PROTEC  2007-12-27 09:09:39 
Re: Binary databases
Jim Higgins <invalid@[  2007-12-27 15:38:12 
Re: Binary databases
Joe <joe@[EMAIL PROTEC  2007-12-27 19:45:20 
Re: Binary databases
"winston19842005@[EM  2007-12-19 00:57:11 
Re: Binary databases
Jim Leonard <MobyGamer  2007-12-21 11:18:29 
Re: Binary databases
Joe <joe@[EMAIL PROTEC  2007-12-22 08:48:19 
Re: Binary databases
winston19842005 <bjjly  2007-12-22 09:17:11 
Re: Binary databases
Joe <joe@[EMAIL PROTEC  2007-12-22 20:05:32 
Re: Binary databases
Jim Leonard <MobyGamer  2007-12-24 10:34:36 
Re: Binary databases
Joe <joe@[EMAIL PROTEC  2007-12-27 09:12:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 5:58:32 CDT 2008.