| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10
Comments:
<0> which is a stupid concept anyway <0> doesn't contain anything <0> moonlord: http://www.imdb.com/name/nm0032375/ <1> why is it stupid? <2> just read the records the way they are now and put em out in another record type either way <3> cute <0> :) <3> but i don't need more series to watch, i need less!!! <3> :p <1> did you like Jericho, ki9a? <0> no <0> you ? <4> in other words i must try to open the file changing my record structure until i get my program working? <0> moonlord: but you can get this on dvdbox :) <1> yeah i liked it <0> aMDS: you should use a database.
<0> they're made for that <2> record first,last,adress,city:string[15];state:string[2] <2> or sumpin like dat? <4> ki9a: y but i'm trying to create a program compatible with another one <1> although, i think there is a lot more room to turn the story to ****, than most programs <0> oh yeah <1> i might not like it 2 or 3 episodes into it though <1> aMDS: probably better to create a new database, then create a database converter for it <4> y but i don't know how to convert for it because i don't know the record structure <4> this is the problem <2> still need to know the structure commin and going <0> it's not a problem <1> how do you even know it has a record structure and its not a database format? <0> if it's a file of record <0> you just have to do some trial and error <2> if its a file of record you gotta know the record type <1> exactly <0> just look at the file <0> and check how it's stored <1> how can you know that its a file of record, without knowing what record is? <2> yep usually find the size of the records right off <1> still better to use a TFileStream :-D <4> Rahly: because i've created a similar record <2> recuring 00 so many bytes apart... <4> but i don't know how to complete mine record <1> aMDS: and? <1> k <2> yo can factor the filesize too <1> weird, must be an old app <1> most database files have keyblocks <1> they aren't just a flat file <2> you talkin sql... list of lists then? <2> bit harder to figgure then <1> na <0> you don't generally "reverse" a db file. <0> you just use it. <1> depends on the db file <1> thats generally only recently too <0> maybe btrieve :) <1> last 10 years or so <2> yup just get the record ya want <2> all the keys and sorts and pointers already done <1> b,b+,b*tree don't store column names and types, thats something a database ENGINE does, not the files <2> what was the question? <0> is there one? <0> And I was thinking we were just haviing a pointless discussion <2> something about reading a file record as record <1> you pay the midgets to do it by hand <4> i want to know how can i recreate the record structure <1> TRecord = record { Insert Fields here} end; // voila <4> eheheh <4> but i don't know every field <0> with patience. <1> and a good hex editor <0> and trial <0> and error <0> and more error <0> How many records are there? <0> divide the file size with that <0> and you at least know what the record size is. <4> i know the record size
<0> so what is the problem ? <4> this isn't a problem for me <0> Just read it all in a byte array <0> and find out what the stuff is <0> you don't kno.w <2> godd txt editor usually works... gotta tell it not to have insert on and not to pad or add crlf and word wrap <0> hex is most useful <4> Petety: y i'm using it <0> since < 32 is sorta unreadable in notepad. <4> but how can a know that is a boolean and not integer? <4> i know* <1> you can tell <1> but ***ume an integer until you know more <2> bool is ff and 00 <1> you can fake it as a boolean when you know exactly what it is <5> a boolean will have two values, and integer has more different values and takes way more space <1> Petety not always <5> Petety not always <2> true can get 8 booleans in a byte if they pack <5> it depends how the databse stores it, but again, really easy to figure out <1> esp in a record system <2> and if ya know the record size its a no brainer <1> get a listing of all the values in a field in all the records, and you can usually figure it out <2> just need most of the feilds really <1> for example if they are all, 1 and 0 or FF+ and 0, then its probably boolean <4> can i link the forum with hex code? <2> havent programmed in hex since the z80 <1> link the forum, eh? <1> you can paste links in here, thats ok, if thats what you mean <2> som of the stamp cpu's are pretty easy in hex <2> like 10 op codes <4> http://www.rafb.net/paste/results/hJFbrO72.html <4> this is a sample record <4> opened with a hex editor <1> looks pretty simple to me <4> y because there are many string <4> but there are not only strings :( <2> 4 text feilds and a couple numerics at the front <4> here is the original topic http://www.teamspeak-einstieg.de/index.php?name=PNphpBB2&file=viewtopic&t=2940&highlight=udp <4> Petety: 5 text fields <2> so the first 21 bytes are # or bool <2> and all the rest is txt <4> y i know <4> but for example <4> what is F4 BE 03 <4> i don't think that is a boolean <2> account number ? number of fish in the aquarium? <2> amt opf tax owed? <2> gotta know what to expect... theres gotta be a reason for the numbers <2> the # may be in byet order rather then word <2> f4 be may be 256 *be + f4 <6> FF = 256 <0> or a float? <2> 03 +256*0 for 3 <6> 255.. but 0 is counted <2> float is usually more non zero bytes <2> very seldom se a float in a db <6> (256*0)+3=3 <2> pennies are usually int / 100 <2> db usually has unsigned int <2> one col credit, one debit, think accountantspeak <0> hrmm <0> VLC is slow at starting dvds <2> floats round and accountants dont like that <1> ff <> 256 ff = 255 <1> i like how people think floats are "inaccurate", i think thats funny <0> they just cannot represent everything <1> kinda like how we represent 1/3rd as .33333 <1> the inaccuracy comes from the conversion from the float to a printed value on the screen <7> http://noname.c64.org/csdb/release/?id=38967 great c64 pic <7> woo and http://noname.c64.org/csdb/release/?id=37677 <1> c64 brings back so many gaming memorys <1> one of my fav was Sid Meier's Pirates! <7> aye
Return to
#delphi or Go to some related
logs:
cities in wyomming waht is 128kb l-2 cache showhandcursor flash 8
#politics donkeydinho pfctl -s info Debug: urgent moose-lim
#gentoo #beginner #politics
|
|