|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Sujet n° 1663 |
Editing External Files? |
le 19/01/2010 @ 19:36 par mylifedrive
visiteur |
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? |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1 -------- le 21/01/2010 @ 23:52 par aldweb
visiteur |
Hello,
Maybe start by reading thread #1557.
This should help you getting started.
Cheers, aldweb |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 3 -------- le 25/01/2010 @ 22:23 par aldweb
visiteur |
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 |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 4 -------- le 26/01/2010 @ 19:20 par mylifedrive
visiteur |
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.
One more question: Is the "Izibasic file" a completely nonstandard one? In other words, there is no palm program that can edit one? |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 5 -------- le 26/01/2010 @ 23:44 par aldweb
visiteur |
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 |
|
|
sujet actif
sujet clos
Important!
Nouveau message -
Rectifier message
Clôturer sujet
Remonter
|
|