PDA

View Full Version : Arrays again


Olaf
07-26-2009, 06:37 AM
Hello again,

Perhaps, I should ask more simply:

Why is it impossible to execute the following in Alice 2:
a[2]:=a[5];

"a" is an array with Numbers.
Everytime I run such a program, I get an runtime error ...

Do you know why?
If this is really not possible, then I can´t sort an array of numbers ...

Thanks,
Olaf.

DrJim
07-31-2009, 02:08 PM
I ran a few experiments after your first post and think this may really be a bug with Alice 2.x arrays - but not 100% sure.

You might try lists instead - but they also have problems.

Olaf
07-31-2009, 03:36 PM
Ok, I will try to work with lists,

Thank you for your answer,
Olaf.

Olaf
07-31-2009, 08:04 PM
Hi again,

I installed the Alice 2.2 now, and here, there is no "array-bug"!
So, I simply use the new version ...

DrJim
08-01-2009, 08:57 AM
I installed the Alice 2.2 now, and here, there is no "array-bug"!

Nice to know. :)

The array problem wasn't fixed in the first release and I hadn't checked since. Maybe someone could put together a list of all the Alice 2.0 problems that are now fixed in the current version of 2.2 - since it looks like that will still be around for a while.

Veryuhbull
08-01-2009, 11:36 AM
Alice 2.2 for Windows:

•Functional video exporter
•Built-in walk animation/methods for 20+ humanoid characters
•Rendering engine choice of Java OpenGL (JOGL) or DirectX
•Random number function for integers fixed
•Ability to change location where Alice stores its preferences -- for those on networked or permission-deprived machines
•Bug submission button removed, due to broken database

There is probably more.