[MWForum]Bobbing Buttons

Daniel Ajoy mwforum@lists.mathcats.com
Fri, 10 Jan 2003 14:36:02 -0500


On 8 Jan 2003 at 21:52, Jeff Knope wrote:

> It'd be silly to just talk about it, when it's so easy to show it in action.
> So I've framed it as a explanatory project, with working examples.  There
> are fairly explicit explanations.
> 
> Let me know if anything is confusing.  I hope you enjoy...
> 

I did enjoy it!

You say:

make "place (int abs (minus 318 + (first mousepos)) / 60) + 1

But:

abs (minus 318 + (first mousepos))

is:

abs (minus [something])

and that is just:

[something]

So:

make "place (int abs (minus 318 + (first mousepos)) / 60) + 1

is:

make "place (int (318 + first mousepos) / 60) + 1

and also:

show map [(int (318 + ?) / 60) + 1] [-316 -263 -254 -201 -191 -141]
[1 1 2 2 3 3]

show map [int (378 + ?) / 60] [-316 -263 -254 -201 -191 -141]
[1 1 2 2 3 3]

so:

make "place (int (318 + first mousepos) / 60) + 1

is:

make "place int (378 + first mousepos) / 60 

:)
Daniel
OpenWorld Learning