alice-teacher A simpler example of my parameter bug

Patricia Campbell triciamontreal at gmail.com
Sun Mar 25 14:40:06 EDT 2012


Does this same bug apply to methods.  I have a student who tried:

method1 (a )  {
method2 (a)
}
this crashes.

On Sun, Mar 25, 2012 at 2:28 PM, Don Slater <dslater at andrew.cmu.edu> wrote:
> We will soon have a release of Alice 2.2 that takes care of this problem. This is a known issue that was added in a previous release. If you go to the Alice Downloads page, to the previous releases section, and older version does not seem to have this problem.
>
> Our apologies,
>
> Don Slater
>
> On Mar 24, 2012, at 8:56 AM, Roger Wistar wrote:
>
>> I tried diagnosing my parameter bug from my previous message, and I think I have distilled it down into its simplest expression: for some reason, taking a parameter value in a function and passing it to another function does not work. The value of the parameter is mangled into the value 1.0. I created a program this morning which (I believe) illustrates this exact phenomenon.
>>
>> Can someone take a look at this and let me know if either I am making a really dumb mistake, or else if there is in fact a serious bug? This would totally break my ability to use parameters in nested function calls, so I would love to hear a workaround if this is actually a bug.
>>
>> Thanks!
>> Roger Wistar
>> rwistar at hotchkiss.org
>> <testParams.a2w>_______________________________________________
>> alice-teachers mailing list
>> alice-teachers at lists.andrew.cmu.edu
>> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
>
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers



-- 
___..___........__.......__
...|....|__/....|...|......|...|__|
...|....|.....\...|...|__..|...|....|

"You must be the change you wish to see in the world." Mohandas K Gandhi


More information about the alice-teachers mailing list