The idea was to routinize it so you could pass them as arguments; if you can pass the constants themselves, yeah, that's better. Never thought of doing that. But I'm still noodling on a clever way of doing numeric base conversions, as that would result in a script of something between 1 and 4 lines.
On Jun 16, 2008, at 7:56 PM, Michelle Steiner wrote: On Jun 16, 2008, at 4:48 PM, Jeff Porten wrote: Thought 1: Not enough time right now to write out a full answer, but I got as far as this with the intention of passing it to a routine:
set timeDividers to {7 * 24 * 60 * 60, 24 * 60 * 60, 60 * 60, 60} set timeLabels to {" weeks", " days", " hours", " minutes"} Why set timeDividers to numbers when there are predefined constants of weeks, days, hours, and minutes?
-- Michelle
-- The Constitution is no ceiling of liberties. It is a floor of freedoms.
|