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 #1663

Forum - Forum
iziBasic - iziBasic


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

active  Topic # 1663  Editing External Files?

19/01/2010 @ 19:36
by mylifedrive

Anonymous

visitor

I am trying to make a game show program, and I need to have all the questions and answers in an external file. How can I make a file that the program can read without having to make a special program to write the file? Can I make the file on my PC?
  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
--------
21/01/2010 @ 23:52
by aldweb

Anonymous

visitor
Hello,

Maybe start by reading thread #1557.

This should help you getting started.

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
--------
23/01/2010 @ 04:34
by Mylifedrive

Anonymous

visitor
In that thread you say:

 
Quotation : Aldweb

You could also store your phrases in a DOC file (then using a DOC converter in the PC, like the one shipped in the iziBasic package), reading the DOC file and parsing the phrases can also be done in your application.

 
So if I open a doc file in an izibasic program, can I INPUT and PRINT to it just like a normal file? or does it need to be read some way different?
  Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3
--------
25/01/2010 @ 22:23
by aldweb

Anonymous

visitor
Hello,

No, this is not the case, the DOC format follows a dedicated format, as explained here: http://wiki.mobileread.com/wiki/PalmDOC.
If you want an easier way, rather use the Memopad structure and, then, basically, write a short routine to import the text to a standard iziBasic database. You might want to look at the sample application shipped with iziBasic which parses the Memopad file and displays each memo's headline.

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° 4
--------
26/01/2010 @ 19:20
by mylifedrive

Anonymous

visitor
Being a full programmers tool, Izibasic should have a program to at least edit files or convert memos to readable ones. It would make it much better than every program that needs to do such must make a routine to import a memo, then delete that line of code for the final product.

I hope someone writes such a program. l

One more question: Is the "Izibasic file" a completely nonstandard one? In other words, there is no palm program that can edit one?
  Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 5
--------
26/01/2010 @ 23:44
by aldweb

Anonymous

visitor

Hello,

 

iziBasic allows you to read, edit, convert memos which are stored in a standard PDB file. And iziBasic does use the standard PDB format. The way the information is structured in a PDB file is left to the application which uses it, just like for any flat file database system.

 

If the previous example was not enough, you might want to give a look to the source code of Memo2tinyBas (in the tinyBasic application) which reads and converts Memopad files to the standard Palm PDB format needed by the tinyBasic interpreter to work. Another one of my applications, being iHeadAche, does just the same: read the MemoPad file, find memos which follow the structure it needs, and use them. This last program even writes back to the MemoPad.

 

Cheers,

aldweb

Write to aldweb   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 ^