aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #1042

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 1042  Create file headers?

09/01/2005 @ 14:51
by Peter Thorstenson

Anonymous



Is it possible to create JFile and Pilot-DB databases or is it only possible to add, delete, and modify the records in them?
I ask becase I see they have a header called "Appinf" when I "view" them with Resco Explorer. Doc files created with QED also have an "Appinf" header, while doc files created with Zdocj and SiEd doesn't have any.

/Peter
Write to Peter Thorstenson   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1
--------
09/01/2005 @ 17:46
by aldweb

Anonymous

visitor
Hello Peter,

I never used Resco Explorer and I don't know what this "Appinf" is, "Appinf" which I never met with any other resources editing tool or explorer-like software.
What is its content?

If you know how the databases of JFile and Pilot-DB are internally built, meaning you know their structure, then you may very well build and edit them, as well as their records, with an iziBasic program.

This is what I did for the ToDos sample program shipped with iziBasic, knowing the structure of the DB the of To Do software provided by Palm OS.
Same principle with the other sample application so called MemoTitles.

And, here is a sample piece of code, that I sent to one user today for writing something to the MemoDB of the Memo Pad application:
{SECUREFILES OFF}
BEGIN
J=1
FOR I=1 TO 10
A$­­=STR$­­(I,2)+CHR$­­(10)
PUTSTRING$­­$­­ A$­­,J
J=J+LEN(A$­­)
NEXT I
OPEN "MemoDB" FOR APPEND AS #1
PRINT$­­$­­ #1
CLOSE #1
END


Cheers

@+
aldweb
Write to aldweb   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2
--------
09/01/2005 @ 19:24
by Peter Thorstenson

Anonymous

visitor
"Appinf" is the first record, som kind of header record which contains info about what there is in the rest of the records--field names and so on.
I think you answered my question, though.

Thanks for your attention! :)
/Peter
Write to Peter Thorstenson   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^