in reply to Behavior of compile-time constants?
The reason your code is breaking is that '=>' stringifies the left argument. The constants are actually implemented as subroutines, and they are not being called. You can fix this by saying "ROTATE() =>" instead of "ROTATE =>", but why bother? Just use variables.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Behavior of compile-time constants?
by particle (Vicar) on Jun 14, 2002 at 18:09 UTC | |
by Abigail-II (Bishop) on Jun 14, 2002 at 18:13 UTC | |
by particle (Vicar) on Jun 14, 2002 at 18:33 UTC | |
by chromatic (Archbishop) on Jun 14, 2002 at 19:59 UTC | |
by perrin (Chancellor) on Jun 14, 2002 at 18:15 UTC | |
by Abigail-II (Bishop) on Jun 14, 2002 at 18:19 UTC | |
by perrin (Chancellor) on Jun 14, 2002 at 18:24 UTC | |
by Abigail-II (Bishop) on Jun 14, 2002 at 18:29 UTC |