How to test for a number
Robert Brenstein
rjb at robelko.com
Wed Mar 16 11:40:26 EST 2005
>Well, that brings up a possibility...
>
>Shouldn't there be a way to check for the system settings (perhaps in
>the registry) and adjust for that in the script?
Ya, I was thinking for a while that may be Rev should have a Gestalt
function. Those familiar with Mac OS Toobox will know that it is a
function that takes a keyword and returns appropriate value, be it
some hardware characteristic or some system setting. The list of
keywords could be OS-specific, with some keywords working for all,
and returning empty if not applicable or not defined.
We already have specialPaths function which does basically that but
only for system-related paths. Gestalt could be its generic
equivalent, allowing RR to add keywords as needed or requested by
users.
Robert
More information about the use-livecode
mailing list