On 25/6/99 3:15 pm DeRobertis <[EMAIL PROTECTED]> wrote:
>At 11:59 AM +0100 on 6/24/99, Kevin Miller wrote:
>
>>MetaCard allows negative chunk expressions for this. Expressions that
>>start with a - read from the end of the container.
>>
>>put char 3 to -1 of line 7
>
>But that't not English. I think my idea is better.
I'm not sure that I agree: your idea doesn't allow you to get the last
three words, or word 2 to the second last, etc:
put word -3 to -1 of tVar
put word 2 to -2 of tVar
>Is there really any reason to force the user to jump through hurdles to
>achieve the same effect? Why may we not intermix multiple types? It does
>open some possibilities:
>
> put item 5 to (through?) end of line of container1 into container2
>
> put char 3 to end of word of container1 into container2
>
>I think I'll stop before I stop opening cans of worms and start opening
>vats of worms.
If you just want to go to the end of a container, you can use:
put word 2 to word (the number of words in tVar) of tVar
Regards,
Kevin
Kevin Miller <[EMAIL PROTECTED]> <http://www.xworlds.com/>
Cross Worlds Computing, MetaCard Distributors, Custom Development.
Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707.