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

Forum - Forum
iziBasic - iziBasic


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

active  Topic # 992  Strange interaction with PIAF editor

24/11/2004 @ 19:41
by Chuck

Anonymous



I am using PIAF to create my 400+ line source code. When compiling, iZiBasic will indicate an error on some random line and show garbage characters on that line. I immediately go into PIAF and there are no such characters in the file. I have played with combinations of renaming the file, copying the file and reseting my palm with random success. Sometimes simply going back to iZiBasic and compiling works.

It appears that iZiBasic is having trouble reading my doc file. What do I need to do to be able to compile consistently?
  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
--------
24/11/2004 @ 20:11
by aldweb

Anonymous

visitor
Chuck,

I have to admit that I had once exactly the same trouble. So, I tried to isolate the DOC file and to study where the trouble was. But, badly, before I found the reason of this strange side effect, the DOC file worked again just fine and I could never reproduce the trouble. Then, I could never figure out, nor solve this weird bug.

So, if you don't mind, could you please send me your source code (in a blocking stage) so that I can study again this thing?

Then, as from my current understanding, the trick is to insert a few characters just before the line returning garbage characters at compilation time. In order not to interact with your source code, insert one comment character + a few characters.

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
--------
25/11/2004 @ 08:31
by gmigueis

Anonymous

visitor
Hi have experienced the same! While I can not scientificaly isolate the cause, I am using some app switch software and each time that I switched from PIAF to iziBasic with some gesture, I got that weird characters in the compiler output!
This has been completely eliminated since I started to exit PIAF by saving the file and returning to the Palm OS default launcher.

Hope it helps!
Write to gmigueis   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/11/2004 @ 10:00
by lol

Anonymous

visitor
Pour moi c'est idem avec piaf.
Il me semble que les problèmes sont de plus en plus fréquents aprés 450 Lignes.

C'est totalement aléatoire.
J'ajoute une remarque avec quelques caractères. PARFOIS cela fonctionne.
Parfois, car de plus en plus fréquement imposible de compilé.

il arrive que le compilateur (izibasic) affiche des caractères n'ayant rien a voir avec le contenu de la source.

Write to lol   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
--------
25/11/2004 @ 22:16
by aldweb

Anonymous

visitor
I just spent one hour trying to get this bug again, working on gmigueis' iziForms source code (as I got it once with this source code)... and I just cannot succeed to get it back.

So, please, my friends, if you ever get it again:
1. you see the garbage characters in iziBasic's compilation
2. exit from iziBasic
3. don't go in your DOC editor
4. isolate your DOC file by any mean and please send it to me
5. you may play again by using one of the given tricks

I promess that I will not steal your source code. Ask gmigueis, I usually just try to help
But, I really need to have one or more samples of DOC files with which the bug appears to figure out where I made a border error in my iziBasic source code.

All I know for now is that it happens only with long source codes which use more than 1 record of 4096 bytes in the DOC file.

In advance, thanks for your help.
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° 5
--------
26/11/2004 @ 22:06
by aldweb

Anonymous

visitor
GOOD NEWS, I have found this weird bug and I just fixed it
It "only" took me 3 hours tonight

Thanks to Chuck who sent me his source code, without it I would have never found.

The case was happening in some cases (but not always) if the last bytes of a DOC record of 4096 bytes were a comment not breaked into the beginning of the next record!
If the break between records was not after a comment, the bug would never happen.

Hopefully, Chuck comments a lot his source code (something I never do as you could see in the sample source codes shipped with iziBasic, this is bad I know!), so his long source code was very helpfull to me.
And, I would never have searched for such a weird reason!!!

Chuck,
By the way: I just gave a quick look to your source code, for finding where the bug was. And then I spent 2 hours between 2 lines of your code and my iziBasic source code, so I have no idea of what your code does, nor did I execute your software when it would compile fine.
I could only see that your coding manner is very clean. Good job
So, now I am curious
Would you allow me do give a look to it?
Don't hesitate to say no, I would then delete it right away from my PC (this is my "customer privacy policy").

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° 6
--------
26/11/2004 @ 22:23
by aldweb

Anonymous

visitor
I forgot to say that I will release very soon a minor version upgrade because of this bug and also because of a few other things... that you will discover then

I still a few things to fix for making it public. Do you agree to wait until somewhere next week?

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° 7
--------
27/11/2004 @ 05:30
by Chuck

Anonymous

visitor
Feel free to use my code any way you would like. I really appreciate you taking the time to dig into this. For me, I will wait as long as you need to deliver the upgrade. I am thankful you solved the issue so quickly. This is a great program with outstanding support.

The actual purpose of my program is rather silly. A group of six coworkers go to lunch regularly. The program allows one person to pay for the entire lunch tab and receive a credit while keeping track of the others as debits to the pool. No cash changes hands between the six. Rotation is determined by person with the highest positive balance paying for the next meal.
  Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 8
--------
28/11/2004 @ 06:48
by gmigueis

Anonymous

visitor
OK for next week, of course!
Write to gmigueis   Post an answer  Top

Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 9
--------
03/12/2004 @ 22:55
by aldweb

Anonymous

visitor
Well, it took me a little bit longer than I expected to build release 3.1. I wanted to release it beginning of this week... but I hold my promess to make it available this week.

Check your e-mail!

@+
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 ^