How to coerce a real to an integer in X?
How to coerce a real to an integer in X?
- Subject: How to coerce a real to an integer in X?
- From: "Charles Arthur" <email@hidden>
- Date: Thu, 31 Jan 2002 23:11:08 +0000
Well, how? How does one coerce a real to an integer? I can't find an
obvious way to do it, unless I'm being more than usually dim.
The reason I want to do it is because I'm using a slider in an Applescript
Studio app, and want to collect the value of the slider (which is a real -
I've tested the class) and put it into an idle loop, which requires an
integer.
Suggestions gratefully etc.
best
Charles
--
http://www.ukclimbing.com : 1,000+ British crags, 350+ British climbing walls
- searchable by distance rock type, etc, with 5-day weather forecasts for
every one - plus maps, articles, news, and the New Routes database. There's
even a cool shop attached...