|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Sujet n° 1556 |
arrays DIM A( 4000) and bigger |
le 08/07/2007 @ 20:48 par gerd58
|
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
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1 -------- le 09/07/2007 @ 12:57 par aldweb
visiteur |
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
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2 -------- le 09/07/2007 @ 19:30 par gerd58
visiteur |
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
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 3 -------- le 10/07/2007 @ 09:08 par aldweb
visiteur |
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
|
|
|
sujet actif
sujet clos
Important!
Nouveau message -
Rectifier message
Clôturer sujet
Remonter
|
|