|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Sujet n° 1415 |
Arrays in Graphics Commands |
le 22/05/2006 @ 23:16 par Garfield
|
Hi
I don't know if this could be a bug as I couldn't find any info in the manual.
Whilst writing my triangles routine, I wanted to use Arrays, but I got a compile error with the following statement:
LINE A(1),A(2) TO V,W
and instead I had to use:
LINE A,B TO V,W
Is this correct? Can't Arrays be used as normal variables? Or is this a bug?
Thanks.
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1 -------- le 23/05/2006 @ 02:34 par bh77a
visiteur |
Hi Garfield,
If I remember correctly this is normal behavior for iziBasic. Can't remember where it is in the manual though...
Really looking forward to seeing your triangle method...
bh77a |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 2 -------- le 23/05/2006 @ 15:31 par aldweb
visiteur |
Is this correct? Yes, it is.
Can't Arrays be used as normal variables? No, they can't.
Or is this a bug? No, arrays were implemented as something like functions rather than variables in iziBasic. It was quicker and easier to develop them this way, but with the given limitation you highlighted. But, on the other side, isn't it a smart thing that A(1) maps to A, A(2) to B (and so on)?
Cheers, aldweb
|
|
|
sujet actif
sujet clos
Important!
Nouveau message -
Rectifier message
Clôturer sujet
Remonter
|
|