|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Topic # 1178 |
Edit on PC, Compile on Palm? |
18/03/2005 @ 21:08 by Roberto
|
Mes Amis,
I am trying to port a DOS Basic program to the Palm using iziBasic. I have installed the Piaf editor, but it is very difficult to use compared to editors on the PC.
Also, I do not know how to convert a .BAS file to .PDC so that either Piaf or iziBasic will see it. Is it possible to edit my files on the PC, then send the changes to the Palm?
Je vous remercie pour votre assistance.
roberto |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1 -------- 19/03/2005 @ 01:27 by Steven
visitor |
Roberto,
There are numerous ways, some easy but not so convenient. If you are using some version of Windows you could use just about any editor you choose and copy/paste into a memo in Palm Desktop then hotsync it over. This of course will probably limit you to the 4k memo limit. Another way is to use the editor of your choice, save as a .txt file, get a program called interparse (http://www.interparse.com/) and convert it to a .pdb in Palmdoc format and again sync it over. Rather than hotsync, get a program called PFB, (http://www.pdassi.de/13639) which is a nice little program that allows you to drag & drop files back and forth from your PDA with a file manager from your desktop. These are just a few of the ways you could do this.
Is it PIAF you dislike or Graffiti text entry? |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2 -------- 19/03/2005 @ 03:46 by Roberto
visitor |
Thank you Steven.
No, the 4k memo restriction is a definite no-go. I just downloaded interparse, have not tried it yet. I don't see any documentation on it, but hopefully I can figure it out. I already tried a program called MakeDoc, which converts files to pdb (or maybe it actually converts them to prc, but is calling them pdb). Piaf can see those files, but iziBasic can't.
Piaf looks hopeless to me as an editor. Scrolling is difficult, and I can't figure out those obscure little icons at the bottom. Again, I don't see any documentation on it anywhere. I already have Basic code that I want to cut, paste, and edit. We have so many good tools on Windows, I want to edit easily there, then download to compile on the Palm.
The website for the program PFB is in German. If I understand it correctly, it costs 2.5 Euros to download, which is not very much. I'm having trouble understanding that page. Is there any English information on this program?
Roberto
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3 -------- 19/03/2005 @ 12:18 by aldweb
visitor |
Roberto,
First, don't expect an editor on board of a Palm device to be as convenient as a PC editor! Screen is smaller, memory is not infinite, processors are slowlier. This being said, I believe that the editors available for the Palm devices are numerous and functional enough. PIAF is widely used, by PP and iziBasic developers because of its syntax color highlighting which is a very convenient feature. And most of iziBasic itself and its 15,000 lines of code or so were coded with PIAF. It's just a question of getting used to it. Its bottom line icons are (from left to right): open file, new file, find, find next, copy, paste, compile, build (or make, I don't remember and never use this one), run
A few discussions around this topic of converting a .BAS file to .PDB were already discussed here. May I invite you to give a look at them: 1. http://www.aldweb.com/thread.php?lng=en&thrd=965 2. http://www.aldweb.com/thread.php?lng=en&thrd=1105 3. http://www.aldweb.com/thread.php?lng=en&thrd=1128 (this one in French, search for "TL-PDB" and "SiED").
I discovered not later than yesterday a new tool which seems to be very promising: http://palmfiction.sourceforge.net (it is in Russian but the snapshot says it all!).
I don't know why a file coverted by PalmDoc ends up not to be read by iziBasic. Is it because of .PRC extension? Or more probably because it ended up in the DOC compressed format? iziBasic only works with the uncompressed format, so just a question of saving in the right format.
Cheers
@+ aldweb |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 4 -------- 24/03/2005 @ 06:58 by Roberto
visitor |
Thank you for the information.
Good news, the program TL-PDB looks very good. It can successfully transfer your sample files to the palm, and then IziBasic will compile them. IziBasic still, however, will not recognize my file. Piaf does, and loads it, but refuses to compile (or run)! My file begins like this:
' RtPalm.ibas {CREATORID "ABCD"} {VERSION "0.1"} 'RTPALM - Real-Time Astronomy Program for the Palm OS
BEGIN GOSUB _ClrScreen GOSUB _EventLoop
END
If you see something wrong, please let me know.
I looked carefully at PalmDoc, the file is not being compressed. PalmFiction is all in Russian, I think I'll use TL-PDB instead.
Merci, je peux lire le francais.
Roberto
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 5 -------- 24/03/2005 @ 10:35 by aldweb
visitor |
In Piaf, in 3 steps: 1. Open Menu, File, Save as 2. Key in: RtPalm.ibas 3. Click OK
Now, you will see it in iziBasic
Cheers, aldweb |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 6 -------- 25/03/2005 @ 18:26 by christof
visitor |
I'm getting used to PIAf, but I am a dedicated keyboard addict, and my only problem is actually in iziBasic! I can't find any keybindings for build it, run it, or editor. (I could be missing something, I admit)
build and run should probably have the same bindings as in PIAF, I'd guess, and maybe command-e for editor?
That would really rock :) |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 7 -------- 26/03/2005 @ 16:26 by aldweb
visitor |
Indeed, there's no keybinding. Because, if I understand well what you mean by "keybinding", it is something which is automated with menus, and there is no menu in iziBasic. And, the interface of iziBasic is just so "basic" that I do not really want to add any menu.
But, I like the idea a lot too and I will think about "key shortcuts", which can easily be added, I just need to code a little bit...
Cheers
@+ aldweb |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 8 -------- 29/03/2005 @ 09:37 by robert
visitor |
OK, I have gotten this far. So at least I have put *something* through iziBasic!
Thank you,
Roberto |
|
|
topic active
topic closed
Sticky
New message -
Correct message
Close topic
Make sticky
|
|