Re: coercing a list
Re: coercing a list
- Subject: Re: coercing a list
- From: Emmanuel <email@hidden>
- Date: Thu, 30 Aug 2001 19:03:21 +0200
At 16:18 +0200 30/08/01, Paul Skinner wrote:
>
>
on 8/30/01 5:27 AM, Emmanuel wrote:
>
>
>
> It does not coerce, I'm afraid.
>
>
That's right, TIDs keeps the value and class that you assign it. It uses
>
the first item of a list or a simple string, whichever it finds, as if it
>
were a simple string. Why is this undesirable?
If the question is for me, I don't say it is undesirable. I was just
commenting a script which would (if I remember correctly) trigger an error
if the TID entered by the user is not a string: it would reject a user who
would use TID's as they were primarily documented.
Emmanuel