aldweb

Fermer I. aldweb

Fermer II. Gratuitiels PC

Fermer III. Gratuitiels Palm

Fermer IV. Partagiciels Palm

Fermer V. iziBasic Palm

Fermer VI. Connaissance Palm

Fermer VII. Ordinateur Poche

Fermer VIII. miniPortail

Spécial !



Version mobile
de l'aldweb Site

m.aldweb.com


Ni Français, ni Anglais ?

Essayez donc l'un de ces drapeaux :
[de] [es] [it] [pt]
Recherche




Météo / Spam / www

Météo Lyon


aldweb contre le SPAM


Newsletter
Pour avoir des nouvelles de ce site, inscrivez-vous à notre Newsletter.
S'abonner
Se désabonner
298 Abonnés
Sites web de la famille

Webmaster - Infos
News Amis
Visites

   visiteurs

   visiteurs en ligne

Sondage
Comment trouve-tu le nouvel habillage de l'aldweb Site ?
 
Superbe !
Joli
Moyen
Moche...
Résultats
forum.gifForum - iziBasic - Sujet n°1663

Forum - Forum
iziBasic - iziBasic


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

actif  Sujet n° 1663  Editing External Files?

le 19/01/2010 @ 19:36
par mylifedrive

Anonyme

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?
  Poster une réponse  Haut

[]   


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

Anonyme

visiteur
Hello,

Maybe start by reading thread #1557.

This should help you getting started.

Cheers,
aldweb
Ecrire à aldweb   Poster une réponse  Haut

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2
--------
le 23/01/2010 @ 04:34
par Mylifedrive

Anonyme

visiteur
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?
  Poster une réponse  Haut

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

Anonyme

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
Ecrire à aldweb   Poster une réponse  Haut

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

Anonyme

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. l

One more question: Is the "Izibasic file" a completely nonstandard one? In other words, there is no palm program that can edit one?
  Poster une réponse  Haut

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

Anonyme

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

Ecrire à aldweb   Poster une réponse  Haut
actif sujet actif   clos sujet clos   Important! Important!   Nouveau Nouveau message   -   Rectifier Rectifier message   Clôturer Clôturer sujet   Remonter Remonter
[]
Catégories de discussion  Forum 



 
^ Haut ^