On 04/07/14 00:43, Mark Schonewille wrote:
Hi Richmond,
Ten is defined as a constant and tenth as a keyword according to the
dictionary. Eleven and eleventh aren't defined. Although a warning
might be appropriate, it is easy to find out why it doesn't work, if
one reads the dictionary: eleven and eleventh don't exist.
Unfortunately, something lacking from the dictionary doesn't always
mean that it doesn't exist :-(
I agree it is silly that LiveCode only contains the constants one to
ten. I'm not sure that it is possible to have an infinite number of
constants defined as ordinal numbers, but it should be possible to do
this for very large numbers. Perhaps a feature request?
My feature request would be to REMOVE the ordinals! Then one could ONLY do:
delete char 3 and so on
and things would be consistent.
Certainly my "grumble" (and it is only a grumble, it is NOT a roaring
complaint) is about
inconsistencies, which makes teaching Livecode a bit more difficult than
perhaps may be
necessary.
Richmond.
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode