Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 04:37 27 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Maximite color: found a bug

Author Message
Juri74

Senior Member

Joined: 06/02/2012
Location: Italy
Posts: 162
Posted: 02:19am 11 Feb 2013
Copy link to clipboard 
Print this post

hello, i found a little bug..
try this:
DIM A$(1000)
maximite reply with NOT ENOUGH MEMORY

but i was wrong, i mean A$(100)
so try DIM A$(100)
maximite reply with CANNOT RE DIMENSION ARRAY

oh! so the array exist!?!?
try PRINT A$(1)

MAXIMITE REBOOT (sometimes maximite will not reboot and remain crashed with black screen)


 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 05:30am 11 Feb 2013
Copy link to clipboard 
Print this post

I use one of these very close to my computers:


Since then a lot less bugs.






Edited by TZAdvantage 2013-02-12
Microblocks. Build with logic.
 
Juri74

Senior Member

Joined: 06/02/2012
Location: Italy
Posts: 162
Posted: 01:16am 12 Feb 2013
Copy link to clipboard 
Print this post

OPTION BASE 1
DIM A(1,2,3)

ERROR: INVALID ARRAY DIMENSION


why?
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 04:32am 12 Feb 2013
Copy link to clipboard 
Print this post

  Juri74 said  
OPTION BASE 1
DIM A(1,2,3)

ERROR: INVALID ARRAY DIMENSION


why?


The first element of the array has a zero dimension.

It is the same as:
OPTION BASE 0
DIM A(0)


The array has zero elements. Which is illegal.
Geoff Graham - http://geoffg.net
 
Juri74

Senior Member

Joined: 06/02/2012
Location: Italy
Posts: 162
Posted: 05:31am 12 Feb 2013
Copy link to clipboard 
Print this post

ok.. understood
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024