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

Forum - Forum
iziBasic - iziBasic


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

active  Topic # 1556  arrays DIM A( 4000) and bigger

08/07/2007 @ 20:48
by gerd58

Anonymous



Hi,
for my magnetic field calculation i need 8 variables whith DIM 4000 and higher
who can halp me ?
Arrays only max. A(110) that is ....!!!

thanks
Gerd58
  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
--------
09/07/2007 @ 12:57
by aldweb

Anonymous

visitor
Hello gerd58,

Please remember that memory in a Palm device is quite limited, so one has to learn how to deal with small amounts of data at a time to be picked in files rather than being stored in the data memory.

If you use the MINOSVERSION compiling directive to work with Palm 0S 5 only versions, you will already extend the numbers stack from 255 to 4000 items.

So, I think that you better store your 8 arrays in files and adapt your source code accordingly. Or, maybe, to be honest with you, you could also start to think about switching to a more powerful compiler if speed is important, because iziBasic might not be the right development tool given the number of calculations that you might want to address in your application...

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
--------
09/07/2007 @ 19:30
by gerd58

Anonymous

visitor
hi aldweb,
thanks for promptly answer.
i wrot this spacial program with smallBasic and it works well on my Palm T3. But the smallBasic dont have the compiler.
so i bay the iziBasic with compiler but with out arrys bigger then 110 numbers.


thanks
gerd58

  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
--------
10/07/2007 @ 09:08
by aldweb

Anonymous

visitor
Hello gerd58,

You only have 110 numbers available out of 255 (with MINOSVERSION not set) because your source code itself uses 255-110=145 numbers cells. You might want to set MINOSEVERSION to get a larger dynamic storage. And, with iziBasic, you will need to use a file to store all these numbers.

Programming on a Palm device is a little bit like in the old days: don't take as an asset that memory is unlimited! So be memory conscious when you code...

Cheers,
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 ^