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

Forum - Forum
iziBasic - iziBasic


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

active  Topic # 1549  More than one array

19/06/2007 @ 20:28
by Valentin

Anonymous



Hello

I need to handle a several arrays, and I see that IziBasic only manage one a() or a$(), How can I dimention more arrays? for example %inercia%(23)

Thanks
Write to Valentin   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
--------
19/06/2007 @ 21:56
by aldweb

Anonymous

visitor
Hello Valentin,

The trick is to reserve areas in the A() or A$() arrays for your various virtual arrays and to stack these virtual arrays in A() or A$().

Let me take an example:
You need 20 spaces for storing info #1
You need 10 spaces for storing info #2

Then,
DIM A(56)
' 26 first spaces are for A-Z
' 20 next spaces are for info #1
' 10 last spaces are for info #2
I=27 : J=46 ' min and max for info #1
X=47 : Y=56 ' min and max for info #2

Then virtual array for info #1 starts at index 27 and stops at index 46, and virtual array for info #2 starts at index 47 and ends at index 56.

I hope these explanations are clear enough and will help you.

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
--------
21/06/2007 @ 01:35
by Valentin

Anonymous

visitor
Hi Aldweb

this is a good solution, I will prove it

Thank you
Write to Valentin   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 ^