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

Forum - Forum
iziBasic - iziBasic


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

active  Topic # 1661  Why won't this code work?

29/12/2009 @ 03:25
by mylfedrive

Anonymous

visitor

%why% = 1
WHILE %why% < 121
A(%why%)=1
%why% = %why%+ 1
WEND

Seems to infinite loop in 7.0 on a palm lifedrive.
  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
--------
29/12/2009 @ 12:31
by aldweb

Anonymous

visitor

Hello mylfedrive,

Did you DIM A(121) on top of your source code?


DIM A(121) 'first
DIM %why% 'second
BEGIN
%why% = 1
WHILE %why% < 121
A(%why%)=1
%why% = %why%+ 1
WEND
END

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
--------
29/12/2009 @ 15:34
by mylfedrive

Anonymous

visitor
Yes, It has been dimensioned, I did DIM A(200)

I also tried an equivalent for...next and repeat...until loop, and they both had errors first.
Write to mylfedrive   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
--------
29/12/2009 @ 18:28
by aldweb

Anonymous

visitor
Then, I don't get where the issue is because the above source code works like a charm...

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
--------
30/12/2009 @ 00:47
by mylfedrive

Anonymous

visitor
I put a messagebox before this code, ad after. The first one shows up, the second one doesn't any I have to soft reset! y
  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
--------
30/12/2009 @ 17:18
by mylifedrive

Anonymous

visitor
Should I email you my full code so you can look at it? I am sure there must be a bug in izibasic!
  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
--------
31/12/2009 @ 01:43
by aldweb

Anonymous

visitor
Sure, please do so.
I will give a look to it.

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
--------
31/12/2009 @ 04:42
by mylifedrive

Anonymous

visitor
Thank you. My current code is using the FOR...NEXT loop. I have put message boxes inside the loop, and it seems to loop until it gets to 3 loops, then it resets and starts from one again, and thus never finishes. Thanks for looking at this for me. Feel free to change any methods to help me get this working. e
  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
--------
01/01/2010 @ 16:57
by aldweb

Anonymous

visitor
After looking at your code, it is important as I slightly highlighted it earlier to DIM the variables in the right order:
DIM A(121) 'first
DIM %why% 'second

And not:
DIM %why%
DIM A(121)

Please refer to Appendix #9: iziBasic Memory structure of the user manual which gives explanations about the variables stacking, because of the special use that iziBasic can do of the A() array.

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° 9
--------
01/01/2010 @ 19:37
by mylifedrive

Anonymous

visitor
Thank you so much! I am sure that you have the best customer support of all Palm programming companies! n
  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 ^