View Full Version : What happened the int to string function?

05-13-2012, 12:29 PM
In 3/1/2012 version of Alice, the int to string function has transformed into a thin purple box. It still works, but it's a bit weird... :confused:

05-13-2012, 02:30 PM
I believe Arty-FishL made a patch that fixes this.

05-13-2012, 06:16 PM
I believe Arty-FishL made a patch that fixes this.Indeed I did. > CLICK ME FOR PATCH <

05-19-2012, 12:09 AM
You do not need to install any patch for the "int as string" function. You are just missing the correct resources file. Attached is the correct resource file. Extract the content to your Alice-Required-resources-en folder.

05-26-2012, 03:33 PM
A similar problem seems to exist with the java style files. Is there a fix for them as well?

Might be good to update the download with these.

Looked over Arty's patch, and decided to try adding call entries to ...math.Int to the format map of the two Java Style.py files using Dreamweaver. They work fine now.

08-26-2012, 02:38 PM

04-07-2013, 01:33 PM
...and in the newest version of 2.3 the problem is back again.

04-07-2013, 02:06 PM
The documentation for version 2.3.3 indicates that it has been renamed to just [int<>] in the World Functions.

04-07-2013, 06:36 PM
Huh, I could've sworn...

04-14-2013, 10:06 AM
The little attached proggie shows interesting aspects.:)

04-14-2013, 10:29 AM
The little attached proggie shows interesting aspects.:)

The behaviour of that function must have been changed in the recent update, because it crashes after "Add Int of value to Dec of Value" for me on Alice 2.2 and 2.3, but not 2.3.3, where it displays those interesting aspects.

04-14-2013, 04:37 PM
Yeah- That was obviously the first thing I decided to try, most likely just to see if it would actually work. The result gave me the incentive to play around a little more. Once I observed the fact that the numbers are being converted in background, I saw new possibilities for simplifying coding. Also, maybe a little closer to Java String Concatenation?

The code that breaks older versions, probably wouldn't have worked with the older versions anyway.

All machines in my classes are running 2.3.3:), now 2.3.4b